mirror of
https://github.com/raysan5/raylib.git
synced 2026-08-27 17:41:33 +00:00
Remove trailing spaces
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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 };
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 /
|
||||
|
||||
Reference in New Issue
Block a user