summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilApp.cpp')
-rw-r--r--rbutil/rbutilApp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilApp.cpp b/rbutil/rbutilApp.cpp
index 5a9e3bcada..971d2f428f 100644
--- a/rbutil/rbutilApp.cpp
+++ b/rbutil/rbutilApp.cpp
@@ -23,7 +23,7 @@ bool rbutilFrmApp::OnInit()
if (! wxDirExists(buf) )
{
wxLogNull lognull;
- if (! wxMkdir(buf))
+ if (! wxMkdir(buf, 0777))
{
wxLogFatalError(_("Can't create data directory %s"),
buf.c_str());
@@ -43,7 +43,7 @@ bool rbutilFrmApp::OnInit()
buf = buf.Left(buf.Len() - 10);
buf.Append(wxT("download"));
- if (! wxDirExists(buf) ) wxMkdir(buf);
+ if (! wxDirExists(buf) ) wxMkdir(buf, 0777);
wxFileSystem::AddHandler(new wxInternetFSHandler);
wxFileSystem::AddHandler(new wxZipFSHandler);