Remove trailing spaces

This commit is contained in:
Ray
2026-08-26 19:47:40 +02:00
parent ba0ac542c5
commit a946097de4
4 changed files with 4 additions and 4 deletions

View File

@@ -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
}

View File

@@ -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 };
}

View File

@@ -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
}
}

View File

@@ -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 /