Skip to content

Commit 9429920

Browse files
committed
Fix typo when exporting control chars.
1 parent bbe433c commit 9429920

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cups/json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ cupsJSONExportString(cups_json_t *json) // I - JSON root node
413413
*ptr++ = '\\';
414414
*ptr++ = 't';
415415
}
416-
if ((*value & 255) < ' ')
416+
else if ((*value & 255) < ' ')
417417
{
418418
snprintf(ptr, length - (size_t)(ptr - s), "\\u%04x", *value);
419419
ptr += 6;

0 commit comments

Comments
 (0)