]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - locale/po2strings.c
Fix mapping of a long double-quote to a regular double quote and not a curley quote
[thirdparty/cups.git] / locale / po2strings.c
index 37794fc76d03a83944bdd133d42776ee4244ddaa..18e168fcbeeef7934c07bb71b73f5c7cfc7e84cb 100644 (file)
@@ -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)
       {