[balsa] "\N" encodes newline
- From: Peter Bloomfield <PeterB src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [balsa] "\N" encodes newline
- Date: Sat, 7 Nov 2009 23:02:51 +0000 (UTC)
commit a69f6605c06ff54004ace83ee05f7e1789c54dc0
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sat Nov 7 18:01:33 2009 -0500
"\N" encodes newline
ChangeLog | 4 ++++
libbalsa/rfc2445.c | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 67d86c1..e04f113 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-07 Peter Bloomfield
+
+ * libbalsa/rfc2445.c (text_2445_unescape): "\N" encodes newline.
+
2009-11-01 Peter Bloomfield
* libbalsa/html.c (lbh_size_request_cb): only increase the
diff --git a/libbalsa/rfc2445.c b/libbalsa/rfc2445.c
index 68cd69a..dc3d3dd 100644
--- a/libbalsa/rfc2445.c
+++ b/libbalsa/rfc2445.c
@@ -574,7 +574,7 @@ text_2445_unescape(const gchar * text)
retval = g_strdup(text);
p = strchr(retval, '\\');
while (p) {
- if (p[1] == 'n')
+ if (p[1] == 'n' || p[1] == 'N')
p[1] = '\n';
memmove(p, p + 1, strlen(p + 1) + 1);
p = strchr(retval, '\\');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]