summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-12-02 01:56:04 +0100
committerAdam Borowski <kilobyte@angband.pl>2011-12-02 12:41:07 +0100
commit4d8a9aa4d283e10a3f8f348fe059f699609eb16d (patch)
treefa8bf0ba425595e5abf1f6e6122a2fe77d6b71c2 /crawl-ref/source/libunix.cc
parentfaa0ec9203e4015243de868c77ef72ad96fd3034 (diff)
downloadcrawl-ref-4d8a9aa4d283e10a3f8f348fe059f699609eb16d.tar.gz
crawl-ref-4d8a9aa4d283e10a3f8f348fe059f699609eb16d.zip
Consistently use a space after flow control statements.
Diffstat (limited to 'crawl-ref/source/libunix.cc')
-rw-r--r--crawl-ref/source/libunix.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc
index 0e3c19c021..40a9428334 100644
--- a/crawl-ref/source/libunix.cc
+++ b/crawl-ref/source/libunix.cc
@@ -462,7 +462,7 @@ void cprintf(const char *format, ...)
ucs_t c;
char *bp = buffer;
- while(int s = utf8towc(&c, bp))
+ while (int s = utf8towc(&c, bp))
{
bp += s;
putwch(c);
@@ -816,7 +816,7 @@ bool kbhit()
i = get_wch(&c);
nodelay(stdscr, FALSE);
- switch(i)
+ switch (i)
{
case OK:
pending = c;