summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2013-07-31 03:58:01 +0200
committerChris Campbell <chriscampbell89@gmail.com>2013-08-03 03:08:12 +0100
commitf66cb844ab65f57161a52e3843ddda8f230588a8 (patch)
tree9e20151ad2b2c9f1ebd2bd0ec42b4f30091414cc /crawl-ref/source/libunix.cc
parenta588b26c5ef24f6ad469d5c1d48b4b7702040c96 (diff)
downloadcrawl-ref-f66cb844ab65f57161a52e3843ddda8f230588a8.tar.gz
crawl-ref-f66cb844ab65f57161a52e3843ddda8f230588a8.zip
More padding fixes for ternary operator
Diffstat (limited to 'crawl-ref/source/libunix.cc')
-rw-r--r--crawl-ref/source/libunix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc
index aa92856e01..adc75fb6ca 100644
--- a/crawl-ref/source/libunix.cc
+++ b/crawl-ref/source/libunix.cc
@@ -173,7 +173,7 @@ static void termio_init()
void set_mouse_enabled(bool enabled)
{
#ifdef NCURSES_MOUSE_VERSION
- const int mask = enabled? ALL_MOUSE_EVENTS | REPORT_MOUSE_POSITION : 0;
+ const int mask = enabled ? ALL_MOUSE_EVENTS | REPORT_MOUSE_POSITION : 0;
mmask_t oldmask = 0;
mousemask(mask, &oldmask);
#endif