summaryrefslogtreecommitdiff
path: root/src/gui/vbox.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-14 19:19:35 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-14 19:19:35 +0000
commitd33140baf3e05bd6c814eb57cffdb62505f7861e (patch)
tree2b35fca2f6d5c68741af7a366bfa8a0df648d279 /src/gui/vbox.cpp
parentc79bf8c82f0a38b574b83be2484eb347852cd833 (diff)
downloadmana-d33140baf3e05bd6c814eb57cffdb62505f7861e.tar.gz
mana-d33140baf3e05bd6c814eb57cffdb62505f7861e.tar.bz2
mana-d33140baf3e05bd6c814eb57cffdb62505f7861e.tar.xz
mana-d33140baf3e05bd6c814eb57cffdb62505f7861e.zip
Fix warning about jump to case label crossing an initialization.
Diffstat (limited to 'src/gui/vbox.cpp')
-rw-r--r--src/gui/vbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/vbox.cpp b/src/gui/vbox.cpp
index eb838ead..b503508e 100644
--- a/src/gui/vbox.cpp
+++ b/src/gui/vbox.cpp
@@ -25,7 +25,7 @@
void VBox::draw(gcn::Graphics *graphics)
{
- if (mWidgets.size() == 0)
+ if (mWidgets.empty())
{
return;
}