From 88972a52b01622d3d9ea8c5e9b5892b229004d28 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 17 Jun 2019 19:20:07 +0200 Subject: [PATCH] Corrected issue on properties reading --- src/raygui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raygui.h b/src/raygui.h index 9638378..aa84398 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -4011,7 +4011,7 @@ RAYGUIDEF void GuiLoadStyle(const char *fileName) { case 'p': { - sscanf(buffer, "p %d %d %d", &controlId, &propertyId, &propertyValue); + sscanf(buffer, "p %d %d 0x%x", &controlId, &propertyId, &propertyValue); if (controlId == 0) // DEFAULT control {