summaryrefslogtreecommitdiff
path: root/src/modules/utils
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-24 16:18:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-24 16:18:00 +0000
commitcff526fc610fe0166b59c25bcb7730b92b481480 (patch)
treee6a4d06f31ac5134d67fee3405f37ebab1a5054d /src/modules/utils
parent2e9daaee6cdf51423daa89b1dbae37e1424d549f (diff)
fix for the Sounds options
git-svn-id: http://svn.miranda-ng.org/main/trunk@604 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/utils')
-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 c38f09bcf5..b31267ad2a 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;
}
@@ -136,7 +136,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;
}