Fixed a bug in debugint.c: Actually make Del and BS delete the last character. [sz72]
This commit is contained in:
parent
b266aa9e96
commit
352756af42
@ -1306,7 +1306,7 @@ static void handle_editor(running_machine *machine)
|
|||||||
{
|
{
|
||||||
/* autoschow */
|
/* autoschow */
|
||||||
cur_editor = &focus_view->editor;
|
cur_editor = &focus_view->editor;
|
||||||
cur_editor->str = cur_editor->str.substr(0, cur_editor->str.len());
|
cur_editor->str = cur_editor->str.substr(0, cur_editor->str.len()-1);
|
||||||
}
|
}
|
||||||
/* if it's any other key and we're not maxed out, update */
|
/* if it's any other key and we're not maxed out, update */
|
||||||
else if (event.ch >= ' ' && event.ch < 0x7f)
|
else if (event.ch >= ' ' && event.ch < 0x7f)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user