diff options
author | Max Horn | 2004-02-05 00:19:57 +0000 |
---|---|---|
committer | Max Horn | 2004-02-05 00:19:57 +0000 |
commit | f59eb3b2194826c73f56161497f4004b2313efa2 (patch) | |
tree | 5c070e2626f83d256fc161a8ec7e98ca2397af58 /gui/launcher.cpp | |
parent | dc852177fb27b83620f0a4296cde0e1a8dec1f62 (diff) | |
download | scummvm-rg350-f59eb3b2194826c73f56161497f4004b2313efa2.tar.gz scummvm-rg350-f59eb3b2194826c73f56161497f4004b2313efa2.tar.bz2 scummvm-rg350-f59eb3b2194826c73f56161497f4004b2313efa2.zip |
renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r-- | gui/launcher.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 2510eb7a52..2a53406536 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -356,7 +356,7 @@ void LauncherDialog::updateListing() { // Retrieve a list of all games defined in the config file _domains.clear(); const ConfigManager::DomainMap &domains = ConfMan.getGameDomains(); - ConfigManager::DomainMap::ConstIterator iter = domains.begin(); + ConfigManager::DomainMap::const_iterator iter = domains.begin(); for (iter = domains.begin(); iter != domains.end(); ++iter) { String name(iter->_value.get("gameid")); String description(iter->_value.get("description")); @@ -417,14 +417,14 @@ void LauncherDialog::addGame() { } else { // Display the candidates to the user and let her/him pick one StringList list; - for (idx = 0; idx < candidates.size(); idx++) + for (idx = 0; idx < (int)candidates.size(); idx++) list.push_back(candidates[idx].description); ChooserDialog dialog("Pick the game:"); dialog.setList(list); idx = dialog.runModal(); } - if (0 <= idx && idx < candidates.size()) { + if (0 <= idx && idx < (int)candidates.size()) { DetectedGame result = candidates[idx]; // The auto detector or the user made a choice. |