issue 3428: fix comment in escape_string

This commit is contained in:
LI Daobing 2024-08-20 18:24:33 -07:00
parent 255ffe09d4
commit 0ad7709c22

View File

@ -3258,7 +3258,7 @@ escape_string (GString *string)
pos = p - string->str; pos = p - string->str;
/* Largest char we escape is 0x0a, so we don't have to worry /* Largest char we escape is 0x9f, so we don't have to worry
* about 8-digit \Uxxxxyyyy * about 8-digit \Uxxxxyyyy
*/ */
tmp = g_strdup_printf ("\\u%04x", wc); tmp = g_strdup_printf ("\\u%04x", wc);