diff --git a/C/write.c b/C/write.c index 0a4a1fb97..b84b0a14d 100644 --- a/C/write.c +++ b/C/write.c @@ -571,9 +571,10 @@ static void write_string(const unsigned char *s, if (chr == '\0') { break; + } if (delta == 0) {chr = *ptr++; } write_quoted(chr, qt, stream); - } while (TRUE); + } while (true); wrputc(qt, stream); }