diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 5 | ||||
-rw-r--r-- | pango/querymodules.c | 5 |
5 files changed, 24 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2004-09-15 Tor Lillqvist <tml@iki.fi> + + * pango/querymodules.c (string_needs_escape, escape_string): + Escape also backslashes. (#152607, Kazuki Iwamoto) + 2004-08-22 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 2a359c5a..7f1f41cb 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +2004-09-15 Tor Lillqvist <tml@iki.fi> + + * pango/querymodules.c (string_needs_escape, escape_string): + Escape also backslashes. (#152607, Kazuki Iwamoto) + 2004-08-22 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 2a359c5a..7f1f41cb 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,8 @@ +2004-09-15 Tor Lillqvist <tml@iki.fi> + + * pango/querymodules.c (string_needs_escape, escape_string): + Escape also backslashes. (#152607, Kazuki Iwamoto) + 2004-08-22 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 2a359c5a..7f1f41cb 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,8 @@ +2004-09-15 Tor Lillqvist <tml@iki.fi> + + * pango/querymodules.c (string_needs_escape, escape_string): + Escape also backslashes. (#152607, Kazuki Iwamoto) + 2004-08-22 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore diff --git a/pango/querymodules.c b/pango/querymodules.c index 8ea48b7a..557ae7ac 100644 --- a/pango/querymodules.c +++ b/pango/querymodules.c @@ -52,7 +52,7 @@ string_needs_escape (const char *str) if (!c) return FALSE; - else if (c == '\"' || g_ascii_isspace (c)) + else if (c == '\"' || c == '\\' || g_ascii_isspace (c)) return TRUE; } } @@ -76,6 +76,9 @@ escape_string (const char *str) case '\"': g_string_append (result, "\\\""); break; + case '\\': + g_string_append (result, "\\\\"); + break; default: g_string_append_c (result, c); } |