[gtksourceview/wip/regex-search] Search: fix bug in replace



commit a3cee21832e9c8d106a781cf7c7efeb9b7c3f9c8
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Jul 23 16:29:37 2013 +0200

    Search: fix bug in replace

 gtksourceview/gtksourcesearch.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcesearch.c b/gtksourceview/gtksourcesearch.c
index 9426703..cda77b7 100644
--- a/gtksourceview/gtksourcesearch.c
+++ b/gtksourceview/gtksourcesearch.c
@@ -3002,7 +3002,7 @@ _gtk_source_search_replace (GtkSourceSearch   *search,
                return FALSE;
        }
 
-       if (!basic_forward_search (search, match_start, &start, &end, match_end))
+       if (!smart_forward_search (search, match_start, &start, &end))
        {
                return FALSE;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]