From d9fade08f4faf1f70671bdf02f124af7c5b236bc Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 1 Jan 2016 05:52:36 +0100 Subject: Correctly escaped special characters in the generated_translations.pot Signed-off-by: Haru --- src/common/strlib.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common') diff --git a/src/common/strlib.c b/src/common/strlib.c index 9690151b4..b67adb63c 100644 --- a/src/common/strlib.c +++ b/src/common/strlib.c @@ -772,6 +772,7 @@ size_t sv_escape_c(char* out_dest, const char* src, size_t len, const char* esca case '\v': out_dest[j++] = 'v'; break; case '\f': out_dest[j++] = 'f'; break; case '\?': out_dest[j++] = '?'; break; + case '\"': out_dest[j++] = '"'; break; default:// to octal out_dest[j++] = '0'+((char)(((unsigned char)src[i]&0700)>>6)); out_dest[j++] = '0'+((char)(((unsigned char)src[i]&0070)>>3)); -- cgit v1.2.3-70-g09d2