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:
authorOliver Schneider <oliver@assarbad.net>2017-03-22 01:24:08 +0300
committerOliver Schneider <oliver@assarbad.net>2017-03-22 01:24:08 +0300
commit59e79356166589c1f0164afe105507addae67cfb (patch)
tree9dfbd4feb1915ef8f240f74a52728bfbab4d1ed0 /src/host/path_isabsolute.c
parentb8625c05bc96cc03d1d940aa7a7682029473f228 (diff)
Introducing os.str2uuid() as possibility to convert a string deterministically into a (pseudo-)UUID using SHA-3 (256-bit) aka Keccak
Replaced all leading spaces or mixed spaces/tabs with tabs (by rule 1 tab = 4 spaces) Prepared premake4.lua for this project to generate XP projects and VS2017 projects --HG-- branch : WDS-build
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] == ':')
);
}