summaryrefslogtreecommitdiff
path: root/locale/po2strings.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2015-07-20 17:42:59 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2015-07-20 17:42:59 +0000
commitf91fdb42754b9eaaf610b01b96d850fe8aa5375a (patch)
treee1f49529b6a087ccbd2609c31fc1f0d96daa0f03 /locale/po2strings.c
parent36ac4374edaa576129ccf2751e8b3dc9ddf104e6 (diff)
Fix mapping of a long double-quote to a regular double quote and not a curley quote
(<rdar://problem/21852022>) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12792 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'locale/po2strings.c')
-rw-r--r--locale/po2strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/po2strings.c b/locale/po2strings.c
index 37794fc76..18e168fcb 100644
--- a/locale/po2strings.c
+++ b/locale/po2strings.c
@@ -319,7 +319,7 @@ normalize_string(const char *idstr, /* I - msgid string */
*bufptr++ = (char)0xA6;
idstr += 2;
}
- else if (*idstr == '\\' && idstr[1] == '\"')
+ else if (*idstr == '\\' && idstr[1] == '\"' && strchr(idstr + 2, '\"') != NULL)
{
if (quote)
{