diff options
-rw-r--r-- | gui/launcher.cpp | 2 | ||||
-rw-r--r-- | gui/massadd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index ea1279497a..b86d524119 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -663,7 +663,7 @@ void LauncherDialog::addGame() { // If new target(s) were added, update the ListWidget and move // the selection to to first newly detected game. - Common::String newTarget = massAddDlg.getFirtAddedTarget(); + Common::String newTarget = massAddDlg.getFirstAddedTarget(); if (!newTarget.empty()) { updateListing(); selectTarget(newTarget); diff --git a/gui/massadd.h b/gui/massadd.h index 006972e642..e37df9f426 100644 --- a/gui/massadd.h +++ b/gui/massadd.h @@ -44,7 +44,7 @@ public: void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); void handleTickle(); - Common::String getFirtAddedTarget() const { + Common::String getFirstAddedTarget() const { if (!_games.empty()) return _games.front().gameid(); return Common::String(); |