summaryrefslogtreecommitdiff
path: root/dedicated.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-19 14:42:17 +0000
committertruelight <truelight@openttd.org>2004-12-19 14:42:17 +0000
commit6416d1a4793ff039a70cc6c65d56f800ed223023 (patch)
tree8b7e3e43a1a8875459b09ff46139c8e0804b3cde /dedicated.c
parent3d48d9410e91bb63d1f81f015ef804c170fa2e1a (diff)
downloadopenttd-6416d1a4793ff039a70cc6c65d56f800ed223023.tar.xz
(svn r1173) -Fix: [Network] Console input in dedicated server for windows was not
working (Hackykid)
Diffstat (limited to 'dedicated.c')
-rw-r--r--dedicated.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dedicated.c b/dedicated.c
index f09b37f99..a5fd344aa 100644
--- a/dedicated.c
+++ b/dedicated.c
@@ -124,7 +124,7 @@ static void DedicatedHandleKeyInput()
#ifdef WIN32
char input;
#endif
- char input_line[200];
+ static char input_line[200] = "";
#ifdef UNIX
if (InputWaiting()) {