mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
win32
This commit is contained in:
parent
a61039bb9c
commit
17454474fb
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user