瀏覽代碼

fix to the fix

David Rose 19 年之前
父節點
當前提交
29f1bb30c8
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      dtool/src/dtoolutil/filename.cxx

+ 3 - 1
dtool/src/dtoolutil/filename.cxx

@@ -1846,7 +1846,9 @@ make_dir() const {
     path = get_dirname();
     path = get_dirname();
   }
   }
 
 
-  path.standardize();
+  if (path.empty()) {
+    return false;
+  }
   string dirname = path.get_fullpath();
   string dirname = path.get_fullpath();
 
 
   // First, make sure everything up to the last path is known.  We
   // First, make sure everything up to the last path is known.  We