summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/coreinfo/coreinfo.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index b731abfbf5..53985b293a 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -198,8 +198,13 @@ static void redraw_module(struct coreinfo_cat *cat)
static void handle_category_key(struct coreinfo_cat *cat, int key)
{
- if (key >= 'a' && key <= 'z') {
- int index = key - 'a';
+ if ((key >= 'a' && key <= 'z') || (key >= 'A' && key <= 'Z')) {
+ int index;
+ if (key >= 'A' && key <= 'Z') {
+ index = key - 'A';
+ } else {
+ index = key - 'a';
+ }
if (index < cat->count) {
cat->cur = index;
redraw_module(cat);