anjuta r4781 - in trunk: . plugins/search
- From: sgranjoux svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4781 - in trunk: . plugins/search
- Date: Sat, 21 Feb 2009 18:03:20 +0000 (UTC)
Author: sgranjoux
Date: Sat Feb 21 18:03:20 2009
New Revision: 4781
URL: http://svn.gnome.org/viewvc/anjuta?rev=4781&view=rev
Log:
* plugins/search/search-replace.c:
Remove one Valgrind warning when searching something
Modified:
trunk/ChangeLog
trunk/plugins/search/search-replace.c
Modified: trunk/plugins/search/search-replace.c
==============================================================================
--- trunk/plugins/search/search-replace.c (original)
+++ trunk/plugins/search/search-replace.c Sat Feb 21 18:03:20 2009
@@ -368,7 +368,7 @@
se->start_pos = g_utf8_strlen (fb->buf, start_sel);
se->end_pos = g_utf8_strlen (fb->buf, end_sel);
}
- else
+ else if (se->end_pos != -1)
{
end_sel = g_utf8_offset_to_pointer (fb->buf, se->end_pos) - fb->buf;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]