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

prep_dir() now works if base path doesn't now have a trailing slash/backslash.

parent 4c0bc1fe
No related branches found
No related tags found
No related merge requests found
......@@ -431,7 +431,7 @@ char* DLLCALL prep_dir(char* base, char* path)
if(!path[0])
return(path);
if(path[0]!='\\' && path[0]!='/' && path[1]!=':') /* Relative to NODE directory */
sprintf(str,"%s%s",base,path);
sprintf(str,"%s/%s",base,path);
else
strcpy(str,path);
......
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