From db461ee046e63b7148174c40e05de76c5d7be31a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Oct 2012 19:48:40 +0300 Subject: Replace gcn::Button to Button in all classes. --- src/gui/popupmenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/popupmenu.cpp') diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 379844983..be03f2ef1 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -1873,8 +1873,8 @@ void PopupMenu::showPopup(const int x, const int y, Button *const button) mY = y; mBrowserBox->clearRows(); - std::vector names = windowMenu->getButtons(); - for (std::vector ::const_iterator it = names.begin(), + std::vector names = windowMenu->getButtons(); + for (std::vector ::const_iterator it = names.begin(), it_end = names.end(); it != it_end; ++ it) { const Button *const btn = dynamic_cast(*it); -- cgit v1.2.3-60-g2f50