Fixed regression introduced by r38409: For a parameterless escape sequence

process_vt100_command() would be invoked with argument count 1 (instead of 0).
This broke e.g. the "dis" command and the command history navigation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39584 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-11-23 16:43:28 +00:00
parent 20631cef4c
commit 38eb09a376

View File

@ -525,8 +525,7 @@ parse_character(char c)
// anyway // anyway
break; break;
default: default:
process_vt100_command(c, true, sScreen.args, process_vt100_command(c, true, sScreen.args, 0);
sScreen.arg_count + 1);
sScreen.state = CONSOLE_STATE_NORMAL; sScreen.state = CONSOLE_STATE_NORMAL;
break; break;
} }