From 329dacd6ef277e9a155091c4f226061b6027f316 Mon Sep 17 00:00:00 2001 From: Naoyuki Sawa Date: Thu, 3 Nov 2016 14:39:50 +0900 Subject: [PATCH] fix: nk_value_color_byte() shows incorrect text --- nuklear.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuklear.h b/nuklear.h index 98a3520..90310ce 100644 --- a/nuklear.h +++ b/nuklear.h @@ -18770,7 +18770,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: (%d, %d, %d, %d)", 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)