summaryrefslogtreecommitdiffstats
path: root/src/jake2/qcommon/FS.java
diff options
context:
space:
mode:
authorHolger Zickner <[email protected]>2004-09-21 10:46:08 +0000
committerHolger Zickner <[email protected]>2004-09-21 10:46:08 +0000
commit06201eb3d8ff68932c47877b666f801c55cb7258 (patch)
tree75c53a25b568245b1e2f5429a943468920df4dc0 /src/jake2/qcommon/FS.java
parentccb2d4d12dbcc113507dc600d54540eb757ce80a (diff)
FTP installer
Diffstat (limited to 'src/jake2/qcommon/FS.java')
-rw-r--r--src/jake2/qcommon/FS.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jake2/qcommon/FS.java b/src/jake2/qcommon/FS.java
index acbdade..66b8a80 100644
--- a/src/jake2/qcommon/FS.java
+++ b/src/jake2/qcommon/FS.java
@@ -2,7 +2,7 @@
* FS.java
* Copyright (C) 2003
*
- * $Id: FS.java,v 1.6 2004-09-20 20:26:40 cawe Exp $
+ * $Id: FS.java,v 1.7 2004-09-21 10:46:07 hzi Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -116,8 +116,8 @@ public final class FS extends Globals {
// -1 if not found and 0 means write to root
if (index > 0) {
File f = new File(path.substring(0, index));
- if (!f.mkdirs()) {
- //Com.Printf("can't create path \"" + path + '"' + "\n" );
+ if (!f.mkdirs() && !f.isDirectory()) {
+ Com.Printf("can't create path \"" + path + '"' + "\n" );
}
}
}