summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-14 18:14:26 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-14 18:14:26 +0000
commit9fc1df65621c76cb9edbb781df61fabb21f61342 (patch)
treef6d2e8a707dc19ce7d99496f85652908a4e0f72a /crawl-ref/source/menu.cc
parent6a4da2697718db5497d17b552c11448ee47ef52a (diff)
downloadcrawl-ref-9fc1df65621c76cb9edbb781df61fabb21f61342.tar.gz
crawl-ref-9fc1df65621c76cb9edbb781df61fabb21f61342.zip
Remember choice of Beogh in character selection.
Some code reindenting and housekeeping. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1587 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/menu.cc')
-rw-r--r--crawl-ref/source/menu.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/menu.cc b/crawl-ref/source/menu.cc
index 8c0ae7645b..e3e48fcc2a 100644
--- a/crawl-ref/source/menu.cc
+++ b/crawl-ref/source/menu.cc
@@ -668,12 +668,12 @@ void slider_menu::set_limits(int y1, int y2)
void slider_menu::select_search(const std::string &s)
{
std::string srch = s;
- tolower_string(srch);
+ lowercase(srch);
for (int i = 0, size = items.size(); i < size; ++i)
{
std::string text = items[i]->get_text();
- tolower_string(text);
+ lowercase(text);
std::string::size_type found = text.find(srch);
if (found != std::string::npos