summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cio.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-02 20:47:37 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-02 20:47:37 +0000
commit54b17c9b542a0ab1f7f8d478abf5c9809b38efbc (patch)
tree8cdc70eefdac9a8f9a339a36b7fec706de38e331 /crawl-ref/source/cio.h
parent0707acbff9bf2b25bcb0114bc43fbe91524bce54 (diff)
downloadcrawl-ref-54b17c9b542a0ab1f7f8d478abf5c9809b38efbc.tar.gz
crawl-ref-54b17c9b542a0ab1f7f8d478abf5c9809b38efbc.zip
Add still more whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5439 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cio.h')
-rw-r--r--crawl-ref/source/cio.h16
1 files changed, 8 insertions, 8 deletions
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<std::string> 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();