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
commit96c1e88d569145c621b1b1739e7b92ba4507bf2d (patch)
tree8b7e3e43a1a8875459b09ff46139c8e0804b3cde /dedicated.c
parent9bd54b592d5fe1b7623c7c009de7202cf153a23a (diff)
downloadopenttd-96c1e88d569145c621b1b1739e7b92ba4507bf2d.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()) {