From 37133e9889f9fd3abf820e836d909c69451e5bcc Mon Sep 17 00:00:00 2001 From: maiconpintoabreu Date: Thu, 9 Oct 2025 03:18:40 +0100 Subject: [PATCH] Set name as Const and remove not used variable --- examples/core/core_monitor_change.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/core/core_monitor_change.c b/examples/core/core_monitor_change.c index c85b3f633..edff36470 100644 --- a/examples/core/core_monitor_change.c +++ b/examples/core/core_monitor_change.c @@ -22,7 +22,7 @@ // Monitor Details typedef struct Monitor { Vector2 position; - char *name; + const char *name; int width; int height; int physicalWidth; @@ -99,7 +99,6 @@ int main(void) // Get currentMonitorIndex if manually moved currentMonitorIndex = GetCurrentMonitor(); } - const Monitor currentMonitor = monitors[currentMonitorIndex]; float monitorScale = 0.6;