From 44405ef0f1b811cc0c2f18bbe24c34f37f288388 Mon Sep 17 00:00:00 2001
From: Stijn Buys <ingar@osirion.org>
Date: Sun, 4 Oct 2015 12:08:38 +0000
Subject: Corrected a compiler warning when buildling without ncurses, reported
 by mega.

---
 src/dedicated/console.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/dedicated')

diff --git a/src/dedicated/console.cc b/src/dedicated/console.cc
index 7986f2e..0e30262 100644
--- a/src/dedicated/console.cc
+++ b/src/dedicated/console.cc
@@ -35,13 +35,13 @@ namespace dedicated
 
 bool console_initialized = false;
 bool console_updated = false;
-
-const size_t MAXHISTOLINES = 512;
 float prev_time = 0;
 Console server_console;
 
 #ifdef HAVE_CURSES
 WINDOW *stdwin;
+
+const size_t MAXHISTOLINES = 512;
 #endif
 
 Console *console()
-- 
cgit v1.2.3