REVIEWED: Possibly obfuscated variable in loop!

This commit is contained in:
Ray
2024-09-10 13:01:29 +02:00
parent 6aae83894a
commit 56ec987258

View File

@ -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);
}