Commit 0d8e416d authored by Sebastien Granjoux's avatar Sebastien Granjoux

Remove one Valgrind warning when searching something

	* plugins/search/search-replace.c:
	Remove one Valgrind warning when searching something

svn path=/trunk/; revision=4781
parent 35d8cf17
2009-02-21 Sébastien Granjoux <seb.sfo@free.fr>
* plugins/search/search-replace.c:
Remove one Valgrind warning when searching something
2009-02-21 Sébastien Granjoux <seb.sfo@free.fr>
* plugins/search/search-replace.c:
......@@ -368,7 +368,7 @@ search_and_replace (void)
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment