From bcf3a81a6ce98f4e3939c1bb074d407fdcfd7631 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Sun, 9 Sep 2012 21:18:47 +0200 Subject: [PATCH] and a tiny bit more of cleanup --- apps/openmw/mwgui/spellbuyingwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/openmw/mwgui/spellbuyingwindow.cpp b/apps/openmw/mwgui/spellbuyingwindow.cpp index 4d89ee8c2..481dd5dd8 100644 --- a/apps/openmw/mwgui/spellbuyingwindow.cpp +++ b/apps/openmw/mwgui/spellbuyingwindow.cpp @@ -173,8 +173,7 @@ namespace MWGui for (unsigned int i=0;igetChildCount();i++) { - MyGUI::Widget* toMove; - toMove = mSpellsClientWidget->getChildAt(i); + MyGUI::Widget* toMove = mSpellsClientWidget->getChildAt(i); toMove->setCoord(toMove->getCoord() + MyGUI::IntPoint(0, diff)); } }