summaryrefslogtreecommitdiff
path: root/src/gui/shopwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-08 02:19:52 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-08 02:19:52 +0300
commit27c3646d10e0c5d25905d7afc7a43289159f711b (patch)
tree90257515af3615f169252161fc62b8d571076936 /src/gui/shopwindow.h
parent5e14ab971129eb95ca02e373fc21adb46c0eaca1 (diff)
downloadplus-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.gz
plus-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.bz2
plus-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.xz
plus-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.h2
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(); }