From e2150d04662a4ba8b5304dabcc74be0bacded5b7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 15 Jan 2011 01:07:47 +0200 Subject: Fix code style, apply some fixes after checking with cppcheck from git. --- src/gui/npcdialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/npcdialog.cpp') diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index 6414da6ed..3af0594f6 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -335,7 +335,7 @@ bool NpcDialog::isAnyInputFocused() DialogList::iterator it = instances.begin(); DialogList::iterator it_end = instances.end(); - for (; it != it_end; it++) + for (; it != it_end; ++it) { if ((*it)->isInputFocused()) return true; @@ -403,7 +403,7 @@ NpcDialog *NpcDialog::getActive() DialogList::iterator it = instances.begin(); DialogList::iterator it_end = instances.end(); - for (; it != it_end; it++) + for (; it != it_end; ++it) { if ((*it)->isFocused()) return (*it); @@ -417,7 +417,7 @@ void NpcDialog::closeAll() DialogList::iterator it = instances.begin(); DialogList::iterator it_end = instances.end(); - for (; it != it_end; it++) + for (; it != it_end; ++it) (*it)->close(); } -- cgit v1.2.3-70-g09d2