diff options
Diffstat (limited to 'src/script/squirrel_std.cpp')
-rw-r--r-- | src/script/squirrel_std.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/squirrel_std.cpp b/src/script/squirrel_std.cpp index 0fb8564c8..ccd8affc1 100644 --- a/src/script/squirrel_std.cpp +++ b/src/script/squirrel_std.cpp @@ -73,7 +73,7 @@ SQInteger SquirrelStd::require(HSQUIRRELVM vm) real_filename = ReallocT(real_filename, scstrlen(real_filename) + scstrlen(filename) + 1); scstrcat(real_filename, filename); /* Tars dislike opening files with '/' on Windows.. so convert it to '\\' ;) */ - char *filen = stredup(SQ2OTTD(real_filename)); + char *filen = stredup(real_filename); #if (PATHSEPCHAR != '/') for (char *n = filen; *n != '\0'; n++) if (*n == '/') *n = PATHSEPCHAR; #endif |