aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/commandLine.cpp2
-rw-r--r--base/main.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index cf59ae6dfd..6ee3ef382d 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -613,7 +613,7 @@ static void listTargets() {
description = g.description();
}
- targets.push_back(Common::String::printf("%-20s %s", name.c_str(), description.c_str()));
+ targets.push_back(Common::String::format("%-20s %s", name.c_str(), description.c_str()));
}
Common::sort(targets.begin(), targets.end());
diff --git a/base/main.cpp b/base/main.cpp
index 37e100b49f..8928396642 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -455,9 +455,10 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
}
PluginManager::instance().unloadPlugins();
PluginManager::destroy();
+ GUI::GuiManager::destroy();
Common::ConfigManager::destroy();
Common::SearchManager::destroy();
- GUI::GuiManager::destroy();
+ Common::TranslationManager::destroy();
return 0;
}