From 4946dbcd3a3bc2006d2906acfdd080e2772c26b9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Jun 2012 01:05:14 +0300 Subject: Fix code style. --- src/gui/inventorywindow.cpp | 2 +- src/resources/resourcemanager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index ccfb12d8a..0db48cbb8 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -33,6 +33,7 @@ #include "gui/gui.h" #include "gui/itemamountwindow.h" +#include "gui/outfitwindow.h" #include "gui/setup.h" #include "gui/sdlinput.h" #include "gui/shopwindow.h" @@ -258,7 +259,6 @@ void InventoryWindow::action(const gcn::ActionEvent &event) { if (event.getId() == "outfit") { - extern Window *outfitWindow; if (outfitWindow) { outfitWindow->setVisible(!outfitWindow->isVisible()); diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index 16214661c..0e755edf7 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -798,7 +798,7 @@ void ResourceManager::delayedLoad() void ResourceManager::removeDelayLoad(AnimationDelayLoad *delayedLoad) { - for(DelayedAnimIter it = mDelayedAnimations.begin(), + for (DelayedAnimIter it = mDelayedAnimations.begin(), it_end = mDelayedAnimations.end(); it != it_end; ++ it) { if (*it == delayedLoad) -- cgit v1.2.3-70-g09d2