diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index 3dd4805015..1edb9328b6 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -339,19 +339,19 @@ void main() if (Form.status_window>2) break; if (del_active) { - if (key == ASCII_KEY_ENTER) Del_File(true); - if (key == ASCII_KEY_ESC) Del_File(false); + if (key2 == SCAN_CODE_ENTER) Del_File(true); + if (key2 == SCAN_CODE_ESC) Del_File(false); break; } if (new_element_active) { - if (key == ASCII_KEY_ESC) NewElement(0); - if (key == ASCII_KEY_ENTER) NewElement(1); + if (key2 == SCAN_CODE_ESC) NewElement(0); + if (key2 == SCAN_CODE_ENTER) NewElement(1); EAX=key<<8; edit_box_key stdcall (#new_file_ed); break; } - if (files.ProcessKey(key)) + if (files.ProcessKey(key2)) { List_ReDraw(); break; @@ -361,6 +361,15 @@ void main() { switch(key2) { + case 059...068: + key2 -= 59; + if (key2