changeset 597:8cc0c46064b1

Fix path handling, hopefully.
author Christian Kamm <kamm incasoftware de>
date Sun, 14 Sep 2008 22:08:39 +0200
parents 1add138c9ba4
children 13ff06605226
files dmd/module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dmd/module.c	Sun Sep 14 22:04:13 2008 +0200
+++ b/dmd/module.c	Sun Sep 14 22:08:39 2008 +0200
@@ -158,7 +158,7 @@
 
     FileName::ensurePathExists(FileName::path(argobj));
 
-    if (global.params.objname)
+    if (forcename)
 	return new File(argobj);
     else
 	return new File(FileName::forceExt(argobj, ext));