Revision: 1852 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1852&view=re... Author: wfraser Date: 2011-01-16 10:50:17 +0000 (Sun, 16 Jan 2011)
Log Message: ----------- gint->guint for loop at l2102 (hopefully will compile on windows, but I cannot check, formatting nested loop l2105, corrected bookmark number l2106
Modified Paths: -------------- trunk/geany-plugins/geanycfp/src/geanycfp.c
Modified: trunk/geany-plugins/geanycfp/src/geanycfp.c =================================================================== --- trunk/geany-plugins/geanycfp/src/geanycfp.c 2011-01-16 10:29:29 UTC (rev 1851) +++ trunk/geany-plugins/geanycfp/src/geanycfp.c 2011-01-16 10:50:17 UTC (rev 1852) @@ -2083,7 +2083,8 @@ /* clean up on exiting this plugin */ void plugin_cleanup(void) { - gint i,k; + gint k; + guint i; ScintillaObject* sci; SCIPOINTERHOLDER *sciTemp; SCIPOINTERHOLDER *sciNext; @@ -2101,7 +2102,9 @@ for(i=0;i<GEANY(documents_array)->len;i++) if(documents[i]->is_valid) { sci=documents[i]->editor->sci; - for(k=0;k<9;k++) scintilla_send_message(sci,SCI_MARKERDELETEALL,k,0); + for(k=0;k<9;k++) + scintilla_send_message(sci,SCI_MARKERDELETEALL,BOOKMARK_BASE+k,0); + }
/* Clear memory used for list of editors */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org