summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-03-22 14:53:10 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-03-22 14:53:10 -0300
commit3a96937e937fcef54faa298923999202c3a4172a (patch)
tree161e6cb387e68965db70ddf9ede53ac510b010ab /drivers
parent4069dc78917645c546b799e250041c29752c4ac1 (diff)
parente646fc5b5d55869a7d497e69f1e513c226e6e75d (diff)
Merge pull request #1512 from the-mech/master
[Fix] make_dir_recursive on Windows
Diffstat (limited to 'drivers')
-rw-r--r--drivers/windows/dir_access_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/windows/dir_access_windows.cpp b/drivers/windows/dir_access_windows.cpp
index 64df801b12..4c265a1ab2 100644
--- a/drivers/windows/dir_access_windows.cpp
+++ b/drivers/windows/dir_access_windows.cpp
@@ -279,7 +279,7 @@ Error DirAccessWindows::make_dir(String p_dir) {
return OK;
};
- if (err == ERROR_ALREADY_EXISTS) {
+ if (err == ERROR_ALREADY_EXISTS || err == ERROR_ACCESS_DENIED) {
return ERR_ALREADY_EXISTS;
};