fixed two errors in events for knife tool:

- ESC for pupmenu was not handled
- pressing ENTER at pupmenu caused mousetrail call to exit
This commit is contained in:
2003-11-12 22:20:27 +00:00
parent 3e972a57e9
commit c51180b860
2 changed files with 29 additions and 20 deletions

View File

@@ -3890,6 +3890,7 @@ short pupmenu(char *instr)
y1= starty + boxh*(md->nitems-1);
x1= startx;
for(a=0; a<md->nitems; a++) {
char *name= md->items[a].str;