Fix path handling, hopefully.

This commit is contained in:
Christian Kamm
2008-09-14 22:08:39 +02:00
parent eaa4ebd7aa
commit 151f86630c

View File

@@ -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));