summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libw32c.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-15 15:26:57 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-15 15:26:57 +0000
commitcc137f4b229d1763c3ad71fe56605b8611a1067c (patch)
tree601f5b148db6c1d94d593d89a11208ae3fa925ad /crawl-ref/source/libw32c.cc
parent8b6107e382417e437cc541dfad85c20234ca3d7c (diff)
downloadcrawl-ref-cc137f4b229d1763c3ad71fe56605b8611a1067c.tar.gz
crawl-ref-cc137f4b229d1763c3ad71fe56605b8611a1067c.zip
Another code cleanup.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4244 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libw32c.cc')
-rw-r--r--crawl-ref/source/libw32c.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc
index cebee880f6..3e9f4b9675 100644
--- a/crawl-ref/source/libw32c.cc
+++ b/crawl-ref/source/libw32c.cc
@@ -85,9 +85,9 @@ static HANDLE outbuf = NULL;
static int current_color = -1;
static bool cursor_is_enabled = false;
// dirty line (sx,ex,y)
-static int chsx=0, chex=0, chy=-1;
+static int chsx = 0, chex = 0, chy = -1;
// cursor position (start at 0,0 --> 1,1)
-static int cx=0, cy=0;
+static int cx = 0, cy = 0;
// and now, for the screen buffer
static CHAR_INFO *screen = NULL;
@@ -684,7 +684,7 @@ int wherey(void)
void putch(char c)
{
// special case: check for '0' char: map to space
- if (c==0)
+ if (c == 0)
c = ' ';
writeChar(c);