From 89f9d94c6bc9c6593e08c0a5c525fa8757a01a40 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 12 Jul 2023 16:05:14 +0200 Subject: [PATCH] Update raygui.h --- src/raygui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raygui.h b/src/raygui.h index 6685f38..80f185d 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -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