diff options
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r-- | src/gui/windowmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp index e1ac916eb..6a9166219 100644 --- a/src/gui/windowmenu.cpp +++ b/src/gui/windowmenu.cpp @@ -127,8 +127,8 @@ WindowMenu::~WindowMenu() delete mTextPopup; mTextPopup = nullptr; mButtonNames.clear(); - std::vector <gcn::Button*>::iterator it, it_end; - for (it = mButtons.begin(), it_end = mButtons.end(); it != it_end; ++it) + for (std::vector <gcn::Button*>::iterator it = mButtons.begin(), + it_end = mButtons.end(); it != it_end; ++it) { Button *btn = dynamic_cast<Button*>(*it); if (!btn) |