diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2009-07-06 02:09:52 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2009-07-06 02:09:52 +0200 |
commit | fd2fe9791264ff8ed8a9bf9d374e796bf011776e (patch) | |
tree | eaf15f9ca1073c4766daafd047e53765102d86e2 /fitz/obj_print.c | |
parent | 270a50ae98b1efeee17ba745c4ccf0eba52a4a0c (diff) | |
download | mupdf-fd2fe9791264ff8ed8a9bf9d374e796bf011776e.tar.xz |
Use nil instead of 0 for pointers.
Diffstat (limited to 'fitz/obj_print.c')
-rw-r--r-- | fitz/obj_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/obj_print.c b/fitz/obj_print.c index d9bb174a..3e2094a8 100644 --- a/fitz/obj_print.c +++ b/fitz/obj_print.c @@ -250,7 +250,7 @@ static void fmtobj(struct fmt *fmt, fz_obj *obj) int i, c; for (i = 0; i < obj->u.s.len; i++) { c = (unsigned char)obj->u.s.buf[i]; - if (strchr("()\\\n\r\t\b\f", c) != 0) + if (strchr("()\\\n\r\t\b\f", c)) added ++; else if (c < 8) added ++; |