From 17454474fb06335283e0782f8cf0305ba175d0bf Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 29 Jul 2009 17:16:35 +0000 Subject: [PATCH] win32 --- direct/src/plugin/mkdir_complete.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/plugin/mkdir_complete.cxx b/direct/src/plugin/mkdir_complete.cxx index 5a52329321..56b0179925 100755 --- a/direct/src/plugin/mkdir_complete.cxx +++ b/direct/src/plugin/mkdir_complete.cxx @@ -72,7 +72,7 @@ mkdir_complete(const string &dirname, ostream &logfile) { if (last_error == ERROR_PATH_NOT_FOUND) { // We need to make the parent directory first. string parent = get_dirname(dirname); - if (!parent.empty() && mkdir_complete(parent)) { + if (!parent.empty() && mkdir_complete(parent, logfile)) { // Parent successfully created. Try again to make the child. if (CreateDirectory(dirname.c_str(), NULL) != 0) { // Got it!