mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-17 13:23:14 +01:00
Fix path handling, hopefully.
This commit is contained in:
@@ -158,7 +158,7 @@ File* Module::buildFilePath(char* forcename, char* path, char* ext)
|
||||
|
||||
FileName::ensurePathExists(FileName::path(argobj));
|
||||
|
||||
if (global.params.objname)
|
||||
if (forcename)
|
||||
return new File(argobj);
|
||||
else
|
||||
return new File(FileName::forceExt(argobj, ext));
|
||||
|
||||
Reference in New Issue
Block a user