Skip to content
Snippets Groups Projects
Commit 0a97e95f authored by rswindell's avatar rswindell
Browse files

Reversed presendence of \ and / path/filename separators.

parent 6459fe39
No related branches found
No related tags found
No related merge requests found
......@@ -212,8 +212,8 @@ int sbbs_t::external(char* cmdline, long mode, char* startup_dir)
if(p) *p=0;
strcpy(fname,str);
p=strrchr(fname,'\\');
if(!p) p=strrchr(fname,'/');
p=strrchr(fname,'/');
if(!p) p=strrchr(fname,'\\');
if(!p) p=strchr(fname,':');
if(!p) p=fname;
else p++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment