From 5b8b9f88320a24fff23852077928c24c19f9850e Mon Sep 17 00:00:00 2001 From: Vinh Truong Date: Sat, 9 Jul 2016 23:30:10 +0300 Subject: [PATCH] Fix incorrect printf token in nk_value_format_byte --- nuklear.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuklear.h b/nuklear.h index cf92bce..b4279c0 100644 --- a/nuklear.h +++ b/nuklear.h @@ -17196,7 +17196,7 @@ nk_value_float(struct nk_context *ctx, const char *prefix, float value) NK_API void nk_value_color_byte(struct nk_context *ctx, const char *p, struct nk_color c) -{nk_labelf(ctx, NK_TEXT_LEFT, "%s: (%c, %c, %c, %c)", p, c.r, c.g, c.b, c.a);} +{nk_labelf(ctx, NK_TEXT_LEFT, "%s: (%u, %u, %u, %u)", p, c.r, c.g, c.b, c.a);} NK_API void nk_value_color_float(struct nk_context *ctx, const char *p, struct nk_color color)