diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-08 02:19:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-08 02:19:52 +0300 |
commit | 27c3646d10e0c5d25905d7afc7a43289159f711b (patch) | |
tree | 90257515af3615f169252161fc62b8d571076936 /src/gui/shopwindow.h | |
parent | 5e14ab971129eb95ca02e373fc21adb46c0eaca1 (diff) | |
download | manaverse-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.gz manaverse-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.bz2 manaverse-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.xz manaverse-27c3646d10e0c5d25905d7afc7a43289159f711b.zip |
Fix some issues after automatic checking.
Change compilation flags in make scripts.
Diffstat (limited to 'src/gui/shopwindow.h')
-rw-r--r-- | src/gui/shopwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/shopwindow.h b/src/gui/shopwindow.h index bad4a0a4e..e07803225 100644 --- a/src/gui/shopwindow.h +++ b/src/gui/shopwindow.h @@ -95,7 +95,7 @@ class ShopWindow : public Window, public gcn::ActionListener, * Returns true if any instances exist. */ static bool isActive() - { return instances.size() > 0; } + { return !instances.empty(); } void setItemSelected(int id) { mSelectedItem = id; updateButtonsAndLabels(); } |