/pidgin/main: 23927269a23a: gtkimhtml: fix gtk_imhtml_is_tag to ...
Daniel Atallah
datallah at pidgin.im
Tue Feb 26 22:18:39 EST 2013
Changeset: 23927269a23af07af67134a9336e339f77f1bcad
Author: Daniel Atallah <datallah at pidgin.im>
Date: 2013-02-26 22:18 -0500
Branch: release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/23927269a23a
Description:
gtkimhtml: fix gtk_imhtml_is_tag to allow the tag to be retrieved without the length
diffstat:
pidgin/gtkimhtml.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/pidgin/gtkimhtml.c b/pidgin/gtkimhtml.c
--- a/pidgin/gtkimhtml.c
+++ b/pidgin/gtkimhtml.c
@@ -2367,7 +2367,7 @@ gtk_imhtml_is_tag (const gchar *string,
if (len)
*len = close - string + 1;
if (tag)
- *tag = g_strndup(string, *len - 1);
+ *tag = g_strndup(string, close - string);
return TRUE;
}
More information about the Commits
mailing list