summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.h
diff options
context:
space:
mode:
authornlanza <nlanza@c06c8d41-db1a-0410-9941-cceddc491573>2006-08-13 04:18:50 +0000
committernlanza <nlanza@c06c8d41-db1a-0410-9941-cceddc491573>2006-08-13 04:18:50 +0000
commitdc67e25c67c6674b32635df5c1ac03bbd163a723 (patch)
treecd427f954aba93bbcd77c07534d5cd99edb9dea7 /crawl-ref/source/menu.h
parent67ea2cc27bc06dde5102bae9de4c7a30c55d0343 (diff)
downloadcrawl-ref-dc67e25c67c6674b32635df5c1ac03bbd163a723.tar.gz
crawl-ref-dc67e25c67c6674b32635df5c1ac03bbd163a723.zip
Add a metric ton of compiler warnings to the Xcode project, and clean
up the source accordingly. At some point these warnings should be merged into the makefile system, but I don't have the will to merge them into the 3451351235 individual makefiles at the moment. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@12 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/menu.h')
-rwxr-xr-xcrawl-ref/source/menu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index 4f1915fe31..05e4796383 100755
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -126,7 +126,7 @@ enum MenuFlag
// closes the menu.
MF_SELECT_ANY_PAGE = 16, // Allow selections to occur on any page.
- MF_EASY_EXIT = 64,
+ MF_EASY_EXIT = 64
};
///////////////////////////////////////////////////////////////////////
@@ -142,7 +142,7 @@ public:
Menu( int flags = MF_MULTISELECT );
virtual ~Menu();
- void set_flags( int flags ) { this->flags = flags; }
+ void set_flags( int new_flags ) { this->flags = new_flags; }
int get_flags() const { return flags; }
bool is_set( int flag ) const;