[geany/geany] 0a063c: Fix regexp search & replace.

asmblur git-noreply at xxxxx
Tue Aug 19 00:06:27 UTC 2014


Branch:      refs/heads/master
Author:      asmblur <asmblurdev at gmail.com>
Committer:   asmblur <asmblurdev at gmail.com>
Date:        Tue, 19 Aug 2014 00:06:27 UTC
Commit:      0a063c1a7268117dbe59308967d4fc2ec058d993
             https://github.com/geany/geany/commit/0a063c1a7268117dbe59308967d4fc2ec058d993

Log Message:
-----------
Fix regexp search & replace.


Modified Paths:
--------------
    src/search.c

Modified: src/search.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -2103,7 +2103,7 @@ gint search_replace_match(ScintillaObject *sci, const GeanyMatchInfo *match, con
 	sci_set_target_start(sci, match->start);
 	sci_set_target_end(sci, match->end);
 
-	if (! (match->flags & SCFIND_REGEXP))
+	if (! (match->flags & GEANY_FIND_REGEXP))
 		return sci_replace_target(sci, replace_text, FALSE);
 
 	str = g_string_new(replace_text);



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list