From 5996291b3770c53609e29a771c6c3d54381f19be Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe Date: Fri, 3 Aug 2007 11:56:03 +0000 Subject: ** Fix for bug #460821 2007-08-03 Hiroyuki Ikezoe ** Fix for bug #460821 * attachment-reminder.c: (strip_text_msg): The second argument of g_utf8_strdown() expects the length of string in bytes or -1. svn path=/trunk/; revision=33943 --- plugins/attachment-reminder/attachment-reminder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/attachment-reminder/attachment-reminder.c') diff --git a/plugins/attachment-reminder/attachment-reminder.c b/plugins/attachment-reminder/attachment-reminder.c index 33971dd25e..92f335c72d 100644 --- a/plugins/attachment-reminder/attachment-reminder.c +++ b/plugins/attachment-reminder/attachment-reminder.c @@ -185,7 +185,7 @@ static gchar* strip_text_msg (gchar *msg) g_strfreev (lines); - return g_utf8_strdown (stripped_msg, g_utf8_strlen (stripped_msg, -1)); + return g_utf8_strdown (stripped_msg, -1); } static void -- cgit