* fhandler_console.cc (fhandler_console::char_command): Properly use calculated
value rather than directly using dev_state.args[0].
This commit is contained in:
parent
8e513b0217
commit
e8036b41ab
|
@ -1,3 +1,8 @@
|
||||||
|
2014-03-09 Christopher Faylor <me.cygwin2014@cgf.cx>
|
||||||
|
|
||||||
|
* fhandler_console.cc (fhandler_console::char_command): Properly use
|
||||||
|
calculated value rather than directly using dev_state.args[0].
|
||||||
|
|
||||||
2014-03-09 Christopher Faylor <me.cygwin2014@cgf.cx>
|
2014-03-09 Christopher Faylor <me.cygwin2014@cgf.cx>
|
||||||
|
|
||||||
* dir.cc (opendir): Propagate any errno from build_fh_name.
|
* dir.cc (opendir): Propagate any errno from build_fh_name.
|
||||||
|
|
|
@ -1839,7 +1839,7 @@ fhandler_console::char_command (char c)
|
||||||
case 'M': /* DL - delete lines */
|
case 'M': /* DL - delete lines */
|
||||||
n = dev_state.args[0] ?: 1;
|
n = dev_state.args[0] ?: 1;
|
||||||
cursor_get (&x, &y);
|
cursor_get (&x, &y);
|
||||||
scroll_buffer (0, y + dev_state.args[0], -1, -1, 0, y);
|
scroll_buffer (0, y + n, -1, -1, 0, y);
|
||||||
break;
|
break;
|
||||||
case '@': /* IC - insert chars */
|
case '@': /* IC - insert chars */
|
||||||
n = dev_state.args[0] ?: 1;
|
n = dev_state.args[0] ?: 1;
|
||||||
|
|
Loading…
Reference in New Issue