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/ChangeLog | 7 +++++++ plugins/attachment-reminder/attachment-reminder.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'plugins/attachment-reminder') diff --git a/plugins/attachment-reminder/ChangeLog b/plugins/attachment-reminder/ChangeLog index 63c5a39d50..cad741475c 100644 --- a/plugins/attachment-reminder/ChangeLog +++ b/plugins/attachment-reminder/ChangeLog @@ -1,3 +1,10 @@ +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. + 2007-07-30 Andre Klapper * attachment-reminder.glade: 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 v1.2.3