diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/configreader.cpp | 2 |
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; |