From 21361a5df873316c55c3e4e494249377149b2334 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 28 Sep 2008 19:46:18 +0000 Subject: Add whitespace fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7054 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/libutil.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'crawl-ref/source/libutil.h') diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h index 6ed7838811..e3a0f06105 100644 --- a/crawl-ref/source/libutil.h +++ b/crawl-ref/source/libutil.h @@ -1,6 +1,6 @@ /* * File: libutil.h - * Summary: System independent functions + * Summary: System independent functions * * Modified for Crawl Reference by $Author$ on $Date$ */ @@ -108,9 +108,9 @@ inline bool ends_with(const std::string &s, const std::string &suffix) // remainder of the string as the last segment; negative values of nsplits // split on all occurrences of the separator. std::vector split_string( - const std::string &sep, - std::string s, - bool trim = true, + const std::string &sep, + std::string s, + bool trim = true, bool accept_empties = false, int nsplits = -1); @@ -189,7 +189,7 @@ public: { return oldval; } - + private: T &val; T oldval; @@ -210,7 +210,7 @@ template class basic_text_pattern : public base_pattern { public: - basic_text_pattern(const std::string &s, bool icase = false) + basic_text_pattern(const std::string &s, bool icase = false) : pattern(s), compiled_pattern(NULL), isvalid(true), ignore_case(icase) { @@ -302,7 +302,7 @@ public: { return pattern; } - + private: std::string pattern; mutable void *compiled_pattern; @@ -333,7 +333,7 @@ public: { ms_current_mode = m_previous_mode; } - + static mouse_mode current_mode() { return ms_current_mode; } private: -- cgit v1.2.3-54-g00ecf