summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-28 13:47:32 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-28 13:47:32 +0300
commitfbcfa27edf518835976e140ec160db009186bc16 (patch)
tree52e2999ffe9ba3971f2b4334be7c8c42754a7e03 /src/gui/setup.cpp
parentcaf62e4d1c039f8d4d33bfd05f476890fdc79fcf (diff)
downloadplus-fbcfa27edf518835976e140ec160db009186bc16.tar.gz
plus-fbcfa27edf518835976e140ec160db009186bc16.tar.bz2
plus-fbcfa27edf518835976e140ec160db009186bc16.tar.xz
plus-fbcfa27edf518835976e140ec160db009186bc16.zip
Fix code style and add some checks.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 9f7ae209d..b0d2f4ec0 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -182,8 +182,8 @@ void Setup::setInGame(bool inGame)
void Setup::externalUpdate()
{
- for (std::list<SetupTab*>::const_iterator it = mTabs.begin(), it_end = mTabs.end();
- it != it_end; ++ it)
+ for (std::list<SetupTab*>::const_iterator it = mTabs.begin(),
+ it_end = mTabs.end(); it != it_end; ++ it)
{
if (*it)
(*it)->externalUpdated();