aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/attachment-reminder/ChangeLog7
-rw-r--r--plugins/attachment-reminder/attachment-reminder.c2
2 files changed, 8 insertions, 1 deletions
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 <poincare@ikezoe.net>
+
+ ** 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 <a9016009@gmx.de>
* 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