diff --git a/apps/launcher/maindialog.cpp b/apps/launcher/maindialog.cpp
index a8e7a89b54..d0f3ebf0bc 100644
--- a/apps/launcher/maindialog.cpp
+++ b/apps/launcher/maindialog.cpp
@@ -159,7 +159,7 @@ Launcher::FirstRunDialogResult Launcher::MainDialog::showFirstRunDialog()
// Dialog wizard and setup will fail if the config directory does not already exist
const auto& userConfigDir = mCfgMgr.getUserConfigPath();
if ( ! exists(userConfigDir) ) {
- if ( ! create_directory(userConfigDir) )
+ if ( ! create_directories(userConfigDir) )
{
cfgError(tr("Error opening OpenMW configuration file"),
tr("
Could not create directory %0
\
@@ -484,7 +484,7 @@ bool Launcher::MainDialog::writeSettings()
const auto& userPath = mCfgMgr.getUserConfigPath();
if (!exists(userPath)) {
- if (!create_directory(userPath)) {
+ if (!create_directories(userPath)) {
cfgError(tr("Error creating OpenMW configuration directory"),
tr("
Could not create %0
\
Please make sure you have the right permissions \