summaryrefslogtreecommitdiff
path: root/src/util.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2017-05-02 19:20:57 +0200
committerBardur Arantsson <bardur@scientician.net>2017-05-02 19:20:57 +0200
commit90a81c722fa22de210878f7cf708dcc13d2520b9 (patch)
treee065e12cc935433b3181ef02a9d9ebcfc248bba0 /src/util.hpp
parenta031f2e1b6a8742c44db8cac59d3d8f71f80eea4 (diff)
Change Rule::{get_set,}name methods to use std::string
Diffstat (limited to 'src/util.hpp')
-rw-r--r--src/util.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.hpp b/src/util.hpp
index 90999567..4c74ad10 100644
--- a/src/util.hpp
+++ b/src/util.hpp
@@ -12,7 +12,7 @@ extern bool input_box(std::string const &text, int y, int x, std::string *buf, s
extern std::string input_box_auto(std::string const &title, std::size_t max);
extern bool input_box_auto(std::string const &prompt, std::string *buf, std::size_t max);
extern void draw_box(int y, int x, int h, int w);
-extern void display_list(int y, int x, int h, int w, cptr title, cptr *list, int max, int begin, int sel, byte sel_color);
+extern void display_list(int y, int x, int h, int w, cptr title, std::vector<std::string> const &list, std::size_t begin, std::size_t sel, byte sel_color);
extern std::string get_player_race_name(int pr, int ps);
extern std::string get_day(s32b day);
extern s32b bst(s32b what, s32b t);