[gtksourceview] SearchContext: fix a crash with backward regex search
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] SearchContext: fix a crash with backward regex search
- Date: Mon, 19 Aug 2013 14:05:06 +0000 (UTC)
commit e7607584ec354118509f8985b7819a491d555961
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]