Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/path_isabsolute.c')
-rw-r--r--src/host/path_isabsolute.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/host/path_isabsolute.c b/src/host/path_isabsolute.c
index 7412935..bdde8eb 100644
--- a/src/host/path_isabsolute.c
+++ b/src/host/path_isabsolute.c
@@ -19,9 +19,9 @@ int do_isabsolute(const char* path)
{
return (
path[0] == '/' ||
- path[0] == '\\' ||
- path[0] == '$' ||
- (path[0] == '"' && path[1] == '$') ||
- (path[0] != '\0' && path[1] == ':')
+ path[0] == '\\' ||
+ path[0] == '$' ||
+ (path[0] == '"' && path[1] == '$') ||
+ (path[0] != '\0' && path[1] == ':')
);
}