diff options
Diffstat (limited to 'dedicated.c')
-rw-r--r-- | dedicated.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dedicated.c b/dedicated.c index f34c26ea0..ed9df3b58 100644 --- a/dedicated.c +++ b/dedicated.c @@ -162,7 +162,7 @@ static void DedicatedHandleKeyInput() else { printf("\n"); IConsoleCmdExec(input_line); - sprintf(input_line, ""); + input_line[0] = '\0'; } } #endif |