diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2015-07-20 17:42:59 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2015-07-20 17:42:59 +0000 |
commit | f91fdb42754b9eaaf610b01b96d850fe8aa5375a (patch) | |
tree | e1f49529b6a087ccbd2609c31fc1f0d96daa0f03 /locale/po2strings.c | |
parent | 36ac4374edaa576129ccf2751e8b3dc9ddf104e6 (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.c | 2 |
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) { |