summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-08-06 21:01:07 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-08-06 21:01:07 +0200
commit1bb0f3699b269e0064bb4397ff4d1ddc6b38c1fa (patch)
tree70393b0365995fde12bd5eb5817902d5857f37b2
parent1eda598ab8d34e8d2fd3ecf990fcb64d49f518f8 (diff)
downloadmana-client-1bb0f3699b269e0064bb4397ff4d1ddc6b38c1fa.tar.gz
mana-client-1bb0f3699b269e0064bb4397ff4d1ddc6b38c1fa.tar.bz2
mana-client-1bb0f3699b269e0064bb4397ff4d1ddc6b38c1fa.tar.xz
mana-client-1bb0f3699b269e0064bb4397ff4d1ddc6b38c1fa.zip
Fixed crash on exit when the last ScrollArea gets deleted
Variable name mixup.
-rw-r--r--src/gui/widgets/scrollarea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp
index a5ea43a8..52322b05 100644
--- a/src/gui/widgets/scrollarea.cpp
+++ b/src/gui/widgets/scrollarea.cpp
@@ -64,7 +64,7 @@ ScrollArea::~ScrollArea()
{
for_each(background.grid, background.grid + 9, dtor<Image*>());
for_each(vMarker.grid, vMarker.grid + 9, dtor<Image*>());
- for_each(vMarkerHi.grid, vMarker.grid + 9, dtor<Image*>());
+ for_each(vMarkerHi.grid, vMarkerHi.grid + 9, dtor<Image*>());
buttons[UP][0]->decRef();
buttons[UP][1]->decRef();