summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 392c7eb29..4d4dccb08 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -1606,7 +1606,7 @@ std::string ServerConfig::GetFullProgDir(char** argv, int argc)
// we just want the dir
while (*work)
{
- if (work[p] == '/')
+ if ((work[p] == '/') || (work[p] == '\\'))
{
work[p] = '\0';
break;