Corrected potential issue

This commit is contained in:
Ray
2019-05-28 17:02:39 +02:00
parent 10cc55548a
commit b0f3f49b28

View File

@ -4068,7 +4068,8 @@ RAYGUIDEF void GuiLoadStyleProps(const int *props, int count)
// Load style palette values from array (complete property sets)
for (int i = 0; i < completeSets; i++)
{
for (int j = 0; j < (NUM_PROPS_DEFAULT + NUM_PROPS_EXTENDED); i++) GuiSetStyle(i, j, props[i]);
// TODO: This code needs review
for (int j = 0; j < (NUM_PROPS_DEFAULT + NUM_PROPS_EXTENDED); j++) GuiSetStyle(i, j, props[i]);
}
// Load style palette values from array (uncomplete property set)