From c98814df2ad4b390cbf6a50472a4a9d2713da65a Mon Sep 17 00:00:00 2001 From: Maksym Kucherov Date: Wed, 5 Feb 2025 14:00:19 -0500 Subject: [PATCH] Fix mismatch between `if defined` and `define` for `RAYGUI_LINE_MARGIN_TEXT`. (#454) --- src/raygui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raygui.h b/src/raygui.h index 7b9a595..8081cba 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -1660,7 +1660,7 @@ int GuiGroupBox(Rectangle bounds, const char *text) // Line control int GuiLine(Rectangle bounds, const char *text) { - #if !defined(RAYGUI_LINE_ORIGIN_SIZE) + #if !defined(RAYGUI_LINE_MARGIN_TEXT) #define RAYGUI_LINE_MARGIN_TEXT 12 #endif #if !defined(RAYGUI_LINE_TEXT_PADDING)