| Previous | 15994 Revisions | Next |
| r11095 Wednesday 6th April, 2011 at 17:32:34 UTC by Fabio Priuli |
|---|
| softlist.c/uiimage.c: char buffer should get cleaned also when Esc is pressed. no whatsnew. |
| [src/emu] | softlist.c uiimage.c |
| r11094 | r11095 | |
|---|---|---|
| 922 | 922 | ui_menu_set_selection(menu, (void *) selected_entry); |
| 923 | 923 | } |
| 924 | 924 | } |
| 925 | else if (event->iptkey == IPT_UI_CANCEL) | |
| 926 | { | |
| 927 | // reset the char buffer also in this case | |
| 928 | if (menustate->filename_buffer[0] != '\0') | |
| 929 | memset(menustate->filename_buffer, '\0', ARRAY_LENGTH(menustate->filename_buffer)); | |
| 930 | } | |
| 925 | 931 | } |
| 926 | 932 | } |
| 927 | 933 |
| r11094 | r11095 | |
|---|---|---|
| 2166 | 2166 | ui_menu_set_selection(menu, (void *) selected_entry); |
| 2167 | 2167 | } |
| 2168 | 2168 | } |
| 2169 | else if (event->iptkey == IPT_UI_CANCEL) | |
| 2170 | { | |
| 2171 | // reset the char buffer also in this case | |
| 2172 | if (sw_state->filename_buffer[0] != '\0') | |
| 2173 | memset(sw_state->filename_buffer, '\0', ARRAY_LENGTH(sw_state->filename_buffer)); | |
| 2174 | } | |
| 2169 | 2175 | } |
| 2170 | 2176 | } |
| 2171 | 2177 |
| Previous | 15994 Revisions | Next |