|
@@ -4485,7 +4485,7 @@ static void GuiLoadStyleFromMemory(const unsigned char *fileData, int dataSize)
|
|
|
// NOTE: All DEFAULT properties should be defined first in the file
|
|
|
GuiSetStyle(0, (int)propertyId, propertyValue);
|
|
|
|
|
|
- if (propertyId < RAYGUI_MAX_PROPS_BASE) for (int i = 1; i < RAYGUI_MAX_CONTROLS; i++) GuiSetStyle(i, (int)propertyId, propertyValue);
|
|
|
+ if (propertyId < RAYGUI_MAX_PROPS_BASE) for (int j = 1; j < RAYGUI_MAX_CONTROLS; j++) GuiSetStyle(j, (int)propertyId, propertyValue);
|
|
|
}
|
|
|
else GuiSetStyle((int)controlId, (int)propertyId, propertyValue);
|
|
|
}
|