Revision: 5299 http://geany.svn.sourceforge.net/geany/?rev=5299&view=rev Author: eht16 Date: 2010-10-16 12:37:20 +0000 (Sat, 16 Oct 2010)
Log Message: ----------- Fix off-by-one bug in 'search_mark_all'.
Modified Paths: -------------- trunk/ChangeLog trunk/src/search.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-10-15 17:24:13 UTC (rev 5298) +++ trunk/ChangeLog 2010-10-16 12:37:20 UTC (rev 5299) @@ -1,3 +1,9 @@ +2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * src/search.c: + Fix off-by-one bug in 'search_mark_all'. + + 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/get.c:
Modified: trunk/src/search.c =================================================================== --- trunk/src/search.c 2010-10-15 17:24:13 UTC (rev 5298) +++ trunk/src/search.c 2010-10-16 12:37:20 UTC (rev 5299) @@ -1041,7 +1041,7 @@ if (len) editor_indicator_set_on_range(doc->editor, GEANY_INDICATOR_SEARCH, pos, pos + len);
- ttf.chrg.cpMin = ttf.chrgText.cpMax + 1; + ttf.chrg.cpMin = ttf.chrgText.cpMax; count++; } return count;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.