From 54b17c9b542a0ab1f7f8d478abf5c9809b38efbc Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 2 Jun 2008 20:47:37 +0000 Subject: Add still more whitespace fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5439 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/cio.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'crawl-ref/source/cio.h') diff --git a/crawl-ref/source/cio.h b/crawl-ref/source/cio.h index 26caa23be2..69085ebd48 100644 --- a/crawl-ref/source/cio.h +++ b/crawl-ref/source/cio.h @@ -1,6 +1,6 @@ /* * File: cio.h - * Summary: System independent console IO functions + * Summary: System independent console IO functions * Created by: dshaligram on Wed Jun 20 19:00:52 2007 UTC * * Modified for Crawl Reference by $Author$ on $Date$ @@ -24,14 +24,14 @@ public: void new_input(const std::string &s); void clear(); - + const std::string *prev(); const std::string *next(); void go_end(); private: typedef std::list string_list; - + string_list history; string_list::iterator pos; size_t maxsize; @@ -58,14 +58,14 @@ void get_input_line( char *const buff, int len ); // In view.cc, declared here for default argument to cancelable_get_line() int get_number_of_cols(void); -// Returns zero if user entered text and pressed Enter, otherwise returns the +// Returns zero if user entered text and pressed Enter, otherwise returns the // key pressed that caused the exit, usually Escape. // // If keyproc is provided, it must return 1 for normal processing, 0 to exit // normally (pretend the user pressed Enter), or -1 to exit as if the user // pressed Escape -int cancelable_get_line( char *buf, - int len, +int cancelable_get_line( char *buf, + int len, int wrapcol = get_number_of_cols(), input_history *mh = NULL, int (*keyproc)(int &c) = NULL ); @@ -199,7 +199,7 @@ enum KEYS class cursor_control { public: - cursor_control(bool cursor_enabled) + cursor_control(bool cursor_enabled) : cstate(is_cursor_enabled()), smartcstate(is_smart_cursor_enabled()) { enable_smart_cursor(false); @@ -218,7 +218,7 @@ private: class line_reader { public: - line_reader(char *buffer, size_t bufsz, + line_reader(char *buffer, size_t bufsz, int wrap_col = get_number_of_cols()); virtual ~line_reader(); -- cgit v1.2.3-54-g00ecf