summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cio.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/cio.cc')
-rw-r--r--crawl-ref/source/cio.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/cio.cc b/crawl-ref/source/cio.cc
index 2ffd89f8b7..8dfced98b0 100644
--- a/crawl-ref/source/cio.cc
+++ b/crawl-ref/source/cio.cc
@@ -331,7 +331,8 @@ void line_reader::cursorto(int ncx)
int line_reader::read_line(bool clear_previous)
{
- if (bufsz <= 0) return false;
+ if (bufsz <= 0)
+ return (false);
cursor_control coff(true);