diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-12-14 23:30:16 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-12-14 23:30:16 +0000 |
commit | 59d5eecdfdc7101755443239ee94b21ea5ad4474 (patch) | |
tree | 3b321857c39bac7084e6a50e01298dea780af433 | |
parent | 9c44f589d2aab70309d11bc5a0050c145452fb4f (diff) |
fix pagedown in some panels
-rw-r--r-- | AvailableColumnsPanel.c | 3 | ||||
-rw-r--r-- | ColumnsPanel.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/AvailableColumnsPanel.c b/AvailableColumnsPanel.c index c0b6af14..5ed9ffcf 100644 --- a/AvailableColumnsPanel.c +++ b/AvailableColumnsPanel.c @@ -48,7 +48,8 @@ static HandlerResult AvailableColumnsPanel_eventHandler(Panel* super, int ch) { } default: { - result = Panel_selectByTyping(super, ch); + if (isalpha(ch)) + result = Panel_selectByTyping(super, ch); break; } } diff --git a/ColumnsPanel.c b/ColumnsPanel.c index 5c630749..e1a75587 100644 --- a/ColumnsPanel.c +++ b/ColumnsPanel.c @@ -62,7 +62,8 @@ static HandlerResult ColumnsPanel_eventHandler(Panel* super, int ch) { } default: { - result = Panel_selectByTyping(super, ch); + if (isalpha(ch)) + result = Panel_selectByTyping(super, ch); if (result == BREAK_LOOP) result = IGNORED; break; |