Ignore:
Timestamp:
Jan 17, 2007, 4:31:40 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Improved %c usage in our custom fprintf() implementation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/debug.c

    r1685 r1688  
    8484            if(i >= 0x20 && i < 0x7f)
    8585                write(fd, &i, 1);
     86            else if(i == '\n')
     87                write(fd, "\\n", 2);
     88            else if(i == '\t')
     89                write(fd, "\\t", 2);
     90            else if(i == '\r')
     91                write(fd, "\\r", 2);
    8692            else
    8793            {
Note: See TracChangeset for help on using the changeset viewer.