Update raygui.h

This commit is contained in:
Ray 2023-07-12 16:05:14 +02:00
parent d54103a1c9
commit 89f9d94c6b

View File

@ -1491,7 +1491,7 @@ int GuiWindowBox(Rectangle bounds, const char *title)
GuiSetStyle(BUTTON, BORDER_WIDTH, 1);
GuiSetStyle(BUTTON, TEXT_ALIGNMENT, TEXT_ALIGN_CENTER);
#if defined(RAYGUI_NO_ICONS)
clicked = GuiButton(closeButtonRec, "x");
result = GuiButton(closeButtonRec, "x");
#else
result = GuiButton(closeButtonRec, GuiIconText(ICON_CROSS_SMALL, NULL));
#endif