Revision: 5998 http://geany.svn.sourceforge.net/geany/?rev=5998&view=rev Author: ntrel Date: 2011-10-05 15:33:40 +0000 (Wed, 05 Oct 2011) Log Message: ----------- Fix argument description.
Modified Paths: -------------- trunk/src/utils.c
Modified: trunk/src/utils.c =================================================================== --- trunk/src/utils.c 2011-10-05 12:00:38 UTC (rev 5997) +++ trunk/src/utils.c 2011-10-05 15:33:40 UTC (rev 5998) @@ -1530,7 +1530,7 @@
/* Replaces @len characters from offset @a pos. - * len can be -1 for str->len. + * len can be -1 to replace the remainder of @a str. * returns: pos + strlen(replace). */ gint utils_string_replace(GString *str, gint pos, gint len, const gchar *replace) { @@ -1540,7 +1540,6 @@ g_string_insert(str, pos, replace); pos += strlen(replace); } - return pos; }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.