Browse Source

Corrected issue on properties reading

Ray 6 years ago
parent
commit
88972a52b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/raygui.h

+ 1 - 1
src/raygui.h

@@ -4011,7 +4011,7 @@ RAYGUIDEF void GuiLoadStyle(const char *fileName)
                 {
                 {
                     case 'p':
                     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
                         if (controlId == 0) // DEFAULT control
                         {
                         {