Changeset 61643c8 in mainline
- Timestamp:
- 2023-09-13T17:32:23Z (16 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 112f70a
- Parents:
- 1af103e
- Location:
- uspace/lib/ui/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/menu.c
r1af103e r61643c8 35 35 36 36 #include <adt/list.h> 37 #include <ctype.h> 37 38 #include <errno.h> 38 39 #include <gfx/color.h> … … 541 542 while (mentry != NULL) { 542 543 c = ui_menu_entry_get_accel(mentry); 543 if (c == event->c && menu->selected != NULL) { 544 if (c == (char32_t)tolower(event->c) && 545 menu->selected != NULL) { 544 546 ui_menu_entry_activate(mentry); 545 547 break; -
uspace/lib/ui/src/menubar.c
r1af103e r61643c8 35 35 36 36 #include <adt/list.h> 37 #include <ctype.h> 37 38 #include <errno.h> 38 39 #include <gfx/color.h> … … 414 415 while (mdd != NULL) { 415 416 maccel = ui_menu_dd_get_accel(mdd); 416 if ( c== maccel) {417 if ((char32_t)tolower(c) == maccel) { 417 418 ui_menu_bar_select(mbar, mdd, true, kbd_id); 418 419 return;
Note:
See TracChangeset
for help on using the changeset viewer.