diff options
Diffstat (limited to 'src/gui/specialswindow.h')
-rw-r--r-- | src/gui/specialswindow.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/specialswindow.h b/src/gui/specialswindow.h index b440ce13..9917acc2 100644 --- a/src/gui/specialswindow.h +++ b/src/gui/specialswindow.h @@ -38,7 +38,8 @@ class TabbedArea; struct SpecialEntry; -class SpecialsWindow : public Window, public gcn::ActionListener { +class SpecialsWindow : public Window, public gcn::ActionListener +{ public: SpecialsWindow(); @@ -51,7 +52,7 @@ class SpecialsWindow : public Window, public gcn::ActionListener { void draw(gcn::Graphics *graphics); - bool hasSpecials() + bool hasSpecials() const { return !mEntries.empty(); } private: |