From ab1f16e077dd524d907d8b0538fb06761ca7b6f4 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Sun, 26 Feb 2006 15:57:28 +0000 Subject: [PATCH] Fix F3 Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2516 --- src/shell/shell_misc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shell/shell_misc.cpp b/src/shell/shell_misc.cpp index 7105790a..568625a9 100644 --- a/src/shell/shell_misc.cpp +++ b/src/shell/shell_misc.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: shell_misc.cpp,v 1.40 2006-02-09 11:47:57 qbix79 Exp $ */ +/* $Id: shell_misc.cpp,v 1.41 2006-02-26 15:57:28 qbix79 Exp $ */ #include #include @@ -83,6 +83,7 @@ void DOS_Shell::InputCommand(char * line) { } str_len = str_index = it_history->length(); size = CMD_MAXLINE - str_index - 2; + line[str_len] = 0; } break;