[cairo-commit] src/cairo-output-stream.c
Kristian Høgsberg
krh at kemper.freedesktop.org
Mon Jun 19 23:30:36 PDT 2006
src/cairo-output-stream.c | 2 ++
1 files changed, 2 insertions(+)
New commits:
diff-tree bb11980f14560ea16174c6531678b9b7a623f813 (from 651b2a9ab0bdb5f8fa952e47e95c21d2f530950d)
Author: Kristian Høgsberg <krh at redhat.com>
Date: Tue Jun 20 02:16:17 2006 -0400
Add 'x' case to printf switch so we actually implement %02x.
diff --git a/src/cairo-output-stream.c b/src/cairo-output-stream.c
index b7b0377..784d159 100644
--- a/src/cairo-output-stream.c
+++ b/src/cairo-output-stream.c
@@ -325,11 +325,13 @@ _cairo_output_stream_vprintf (cairo_outp
case 'd':
case 'u':
case 'o':
+ case 'x':
snprintf (buffer, sizeof buffer, single_fmt, va_arg (ap, int));
break;
case 'd' | LENGTH_MODIFIER_LONG:
case 'u' | LENGTH_MODIFIER_LONG:
case 'o' | LENGTH_MODIFIER_LONG:
+ case 'x' | LENGTH_MODIFIER_LONG:
snprintf (buffer, sizeof buffer,
single_fmt, va_arg (ap, long int));
break;
More information about the cairo-commit
mailing list