diff --git a/examples/textures/textures_portal_window.c b/examples/textures/textures_portal_window.c index a0b48ef91..bac04d2ad 100644 --- a/examples/textures/textures_portal_window.c +++ b/examples/textures/textures_portal_window.c @@ -237,6 +237,6 @@ static void EndPortalMode3D(void) rlMatrixMode(RL_MODELVIEW); // Switch back to modelview matrix rlLoadIdentity(); // Reset current matrix (modelview) - + rlDisableDepthTest(); // Disable DEPTH_TEST for 2D } diff --git a/src/platforms/rcore_desktop_glfw.c b/src/platforms/rcore_desktop_glfw.c index c6a210f64..5a6c2de2e 100644 --- a/src/platforms/rcore_desktop_glfw.c +++ b/src/platforms/rcore_desktop_glfw.c @@ -1031,7 +1031,7 @@ const char *GetMonitorName(int monitor) Vector2 GetWindowPosition(void) { glfwGetWindowPos(platform.handle, &CORE.Window.position.x, &CORE.Window.position.y); - + return (Vector2){ (float)CORE.Window.position.x, (float)CORE.Window.position.y }; } diff --git a/src/platforms/rcore_drm.c b/src/platforms/rcore_drm.c index 5172f2462..10064b20d 100644 --- a/src/platforms/rcore_drm.c +++ b/src/platforms/rcore_drm.c @@ -1938,7 +1938,7 @@ static void InitEvdevInput(void) (strncmp("mouse", entity->d_name, strlen("mouse")) == 0)) // Search for devices named "mouse*" { snprintf(path, MAX_FILEPATH_LENGTH, "%s%s", DEFAULT_EVDEV_PATH, entity->d_name); - + ConfigureEvdevDevice(path); // Configure the device if appropriate } } diff --git a/src/rcore.c b/src/rcore.c index 9aadce1e4..b1b360dbe 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -2870,7 +2870,7 @@ bool IsPathAbsolute(const char *path) // Check UNC path (\\server\share) if ((path[0] == '\\') && (path[1] == '\\')) result = true; // Check path starts with a drive letter (e.g. C:\ or D:/) - else if ((((path[0] >= 'A') && (path[0] <= 'Z')) || ((path[0] >= 'a') && (path[0] <= 'z'))) && + else if ((((path[0] >= 'A') && (path[0] <= 'Z')) || ((path[0] >= 'a') && (path[0] <= 'z'))) && (path[1] != '\0') && (path[1] == ':') && (path[2] != '\0') && ((path[2] == '\\') || (path[2] == '/'))) result = true; #else // Check POSIX path, must start with /