Fix F3
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2516
This commit is contained in:
parent
2d8426975a
commit
ab1f16e077
1 changed files with 2 additions and 1 deletions
|
@ -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 <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue