diff options
-rw-r--r-- | include/mupdf/fitz/output.h | 4 | ||||
-rw-r--r-- | source/fitz/printf.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/include/mupdf/fitz/output.h b/include/mupdf/fitz/output.h index 63a51a50..2c7a53a8 100644 --- a/include/mupdf/fitz/output.h +++ b/include/mupdf/fitz/output.h @@ -221,8 +221,8 @@ void fz_write_base64_buffer(fz_context *ctx, fz_output *out, fz_buffer *data, in /* fz_format_string: Our customised 'printf'-like string formatter. - Takes %c, %d, %o, %s, %u, %x, as usual. - Modifiers are not supported except for zero-padding ints (e.g. %02d, %03o, %04x, etc). + Takes %c, %d, %s, %u, %x, as usual. + Modifiers are not supported except for zero-padding ints (e.g. %02d, %03u, %04x, etc). %g output in "as short as possible hopefully lossless non-exponent" form, see fz_ftoa for specifics. %f and %e output as usual. diff --git a/source/fitz/printf.c b/source/fitz/printf.c index 010c9298..41b3fe34 100644 --- a/source/fitz/printf.c +++ b/source/fitz/printf.c @@ -391,10 +391,6 @@ fz_format_string(fz_context *ctx, void *user, void (*emit)(fz_context *ctx, void fmtuint32(&out, i32, s, z, w, 10); } break; - case 'o': - i32 = va_arg(args, int); - fmtint32(&out, i32, s, z, w, 8); - break; case 's': str = va_arg(args, const char*); |