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

Unix-compatibility fix: terminate path with forward-slash, not backslash.

parent 90bd120c
No related branches found
No related tags found
No related merge requests found
......@@ -29,8 +29,9 @@ if(!node_dir[0]) { /* node directory not specified */
getch();
return(1); }
if(node_dir[strlen(node_dir)-1]!='\\') /* make sure node_dir ends in '\' */
strcat(node_dir,"\\");
if(node_dir[strlen(node_dir)-1]!='\\'
&& node_dir[strlen(node_dir)-1]!='/') /* make sure node_dir ends in '/' */
strcat(node_dir,"/");
initdata(); /* read XTRN.DAT and more */
......
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