From 137d900672cf15df2d5f3cf5988aff20d33620f7 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Fri, 25 Jan 2008 11:13:18 +0000 Subject: [1801838] Use a menu to show mutation list so long lists don't scroll off the end of the terminal. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3331 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/libutil.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/libutil.h') diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h index 4c64be32e6..11087ffd11 100644 --- a/crawl-ref/source/libutil.h +++ b/crawl-ref/source/libutil.h @@ -91,7 +91,8 @@ typedef void *(*p_compile)(const char *pattern, bool ignore_case); typedef void (*p_free)(void *cp); typedef bool (*p_match)(void *compiled_pattern, const char *text, int length); -std::string & trim_string( std::string &str ); +std::string &trim_string( std::string &str ); +std::string &trim_string_right( std::string &str ); std::string trimmed_string( std::string s ); inline bool starts_with(const std::string &s, const std::string &prefix) -- cgit v1.2.3-54-g00ecf