diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2013-05-21 03:49:21 +0200 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-05-21 02:26:55 -0400 |
commit | 4d033e72b35918d3451952ab2ae9a57cd3f02b8a (patch) | |
tree | c7431ccb8640c2bd23bcb80977657ec42d4a160e /crawl-ref/source/menu.h | |
parent | 6d6c93c5d497bc74821d2629d26894b29b1af683 (diff) | |
download | crawl-ref-4d033e72b35918d3451952ab2ae9a57cd3f02b8a.tar.gz crawl-ref-4d033e72b35918d3451952ab2ae9a57cd3f02b8a.zip |
Whitespace fixes
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r-- | crawl-ref/source/menu.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h index 30918f5da9..b8e4a5d981 100644 --- a/crawl-ref/source/menu.h +++ b/crawl-ref/source/menu.h @@ -177,7 +177,7 @@ public: else if (selected()) selected_qty = 0; else if (quantity) - selected_qty = (qty == -1? quantity : qty); + selected_qty = (qty == -1 ? quantity : qty); } virtual string get_filter_text() const @@ -198,10 +198,10 @@ public: string alt_text; ToggleableMenuEntry(const string &txt = string(), - const string &alt_txt = string(), - MenuEntryLevel lev = MEL_ITEM, - int qty = 0, int hotk = 0, - bool preselect = false) : + const string &alt_txt = string(), + MenuEntryLevel lev = MEL_ITEM, + int qty = 0, int hotk = 0, + bool preselect = false) : MenuEntry(txt, lev, qty, hotk, preselect), alt_text(alt_txt) {} void toggle() { text.swap(alt_text); } @@ -587,7 +587,7 @@ public: virtual void set_bounds(const coord_def& min_coord, const coord_def& max_coord); virtual void set_bounds_no_multiply(const coord_def& min_coord, - const coord_def& max_coord); + const coord_def& max_coord); virtual void move(const coord_def& delta); virtual const coord_def& get_min_coord() const { return m_min_coord; } virtual const coord_def& get_max_coord() const { return m_max_coord; } @@ -670,7 +670,7 @@ public: virtual void set_bounds(const coord_def& min_coord, const coord_def& max_coord); virtual void set_bounds_no_multiply(const coord_def& min_coord, - const coord_def& max_coord); + const coord_def& max_coord); virtual void render(); |