diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/object/robotmain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp index f319d92..df4deae 100644 --- a/src/object/robotmain.cpp +++ b/src/object/robotmain.cpp @@ -5702,7 +5702,7 @@ char* SearchLastDir(char *filename) while (p != filename) { - if (*(--p) == '/') return p; + if (*(--p) == '/' || *p == '\\') return p; } return 0; } |