diff --git a/src/raygui.h b/src/raygui.h index 1a218c1..67da736 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -2151,7 +2151,7 @@ int GuiToggleSlider(Rectangle bounds, const char *text, int *active) int itemCount = 0; const char **items = NULL; - if (text != NULL) items = GuiTextSplit(text, ';', &itemCount, NULL); + if (text != NULL) items = GuiTextSplit(text, ';', &itemCount, NULL); Rectangle slider = { 0, // Calculated later depending on the active toggle