[gtksourceview/wip/regex-search] SearchContext: fix a crash with backward regex search
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/regex-search] SearchContext: fix a crash with backward regex search
- Date: Thu, 15 Aug 2013 15:24:38 +0000 (UTC)
commit 7d36478339c077509301dfde1255dfac8b2fbd93
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Aug 15 17:22:02 2013 +0200
SearchContext: fix a crash with backward regex search
gtksourceview/gtksourcesearchcontext.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcesearchcontext.c b/gtksourceview/gtksourcesearchcontext.c
index ca36d91..bae718c 100644
--- a/gtksourceview/gtksourcesearchcontext.c
+++ b/gtksourceview/gtksourcesearchcontext.c
@@ -797,7 +797,7 @@ basic_backward_regex_search (GtkSourceSearchContext *search,
GMatchInfo *match_info;
GtkTextIter iter;
gint iter_byte_pos;
- gboolean found;
+ gboolean found = FALSE;
GtkTextIter tmp_match_start;
GtkTextIter tmp_match_end;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]