summaryrefslogtreecommitdiff
path: root/src/modules/utils/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/utils/path.cpp')
-rw-r--r--src/modules/utils/path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/utils/path.cpp b/src/modules/utils/path.cpp
index ff6a5550bb..ed29b7fa24 100644
--- a/src/modules/utils/path.cpp
+++ b/src/modules/utils/path.cpp
@@ -35,7 +35,7 @@ static int pathIsAbsolute(const char *path)
{
if ( strlen(path) <= 2 )
return 0;
- if ((path[1]==':'&&path[2]=='\\')||(path[0]=='\\'&&path[1]=='\\'))
+ if ((path[1] == ':'&&path[2] == '\\')||(path[0] == '\\'&&path[1] == '\\'))
return 1;
return 0;
}
@@ -137,7 +137,7 @@ static int pathIsAbsoluteW(const TCHAR *path)
{
if ( lstrlen(path) <= 2 )
return 0;
- if ((path[1]==':'&&path[2]=='\\')||(path[0]=='\\'&&path[1]=='\\'))
+ if ((path[1] == ':'&&path[2] == '\\')||(path[0] == '\\'&&path[1] == '\\'))
return 1;
return 0;
}