Skip to content

Commit

Permalink
Update src/io.c
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Jan 4, 2024
1 parent 47bcf85 commit 19e3fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1625,7 +1625,7 @@ static inline void FormatOutput(
// print the string
/* must be careful that line breaks don't go inside
escaped sequences \n or \123 or similar */
while (len--) {
for (UInt i = 0; i < len; i++) {
const Char* q = ((const Char *)arg1) + i;
// skip null bytes; this means 'prec' is off in this case. Fixing this
// is not worth the effort. So instead, new rule: if you print strings
Expand Down

0 comments on commit 19e3fe5

Please sign in to comment.