summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()) {