aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordi Vilalta Prat2009-12-15 12:56:10 +0000
committerJordi Vilalta Prat2009-12-15 12:56:10 +0000
commit690a410423207c3df4c6cf9427167c0948f08ad4 (patch)
tree4e6e85567e7673d0b5536bce0a71d1f5075b627e
parentf59b50253e36f62a599fd035e150e399689d60fa (diff)
downloadscummvm-rg350-690a410423207c3df4c6cf9427167c0948f08ad4.tar.gz
scummvm-rg350-690a410423207c3df4c6cf9427167c0948f08ad4.tar.bz2
scummvm-rg350-690a410423207c3df4c6cf9427167c0948f08ad4.zip
Fix a typo
svn-id: r46386
-rw-r--r--gui/launcher.cpp2
-rw-r--r--gui/massadd.h2
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();