Fix argument description.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5998 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
03d22bec52
commit
b673f0534e
@ -1530,7 +1530,7 @@ gint utils_string_find(GString *haystack, gint start, gint end, const gchar *nee
|
|||||||
|
|
||||||
|
|
||||||
/* Replaces @len characters from offset @a pos.
|
/* 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). */
|
* returns: pos + strlen(replace). */
|
||||||
gint utils_string_replace(GString *str, gint pos, gint len, const gchar *replace)
|
gint utils_string_replace(GString *str, gint pos, gint len, const gchar *replace)
|
||||||
{
|
{
|
||||||
@ -1540,7 +1540,6 @@ gint utils_string_replace(GString *str, gint pos, gint len, const gchar *replace
|
|||||||
g_string_insert(str, pos, replace);
|
g_string_insert(str, pos, replace);
|
||||||
pos += strlen(replace);
|
pos += strlen(replace);
|
||||||
}
|
}
|
||||||
|
|
||||||
return pos;
|
return pos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user