Skip to content
Snippets Groups Projects
Commit 2a15d804 authored by deuce's avatar deuce
Browse files

Some minor fixes to filename parsing.

parent 7d491d1a
Branches
Tags
No related merge requests found
......@@ -36,9 +36,8 @@ for(i in argv) {
break;
default:
if(this.f==undefined) {
f = new File(file_getcase(argv[i]));
filename=file_getcase(argv[i]);
filename=filename.replace(/^.*[\\\/]/,'');
this.f = new File(file_getcase(argv[i]));
filename=this.f.name.replace(/^.*[\\\/]/,'');
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment