summaryrefslogtreecommitdiffstats
path: root/InfoScreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'InfoScreen.c')
-rw-r--r--InfoScreen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/InfoScreen.c b/InfoScreen.c
index 1823f366..8ff33d0b 100644
--- a/InfoScreen.c
+++ b/InfoScreen.c
@@ -131,12 +131,13 @@ void InfoScreen_run(InfoScreen* this) {
if (ch == KEY_MOUSE) {
MEVENT mevent;
int ok = getmouse(&mevent);
- if (ok == OK)
+ if (ok == OK) {
if (mevent.y >= panel->y && mevent.y < LINES - 1) {
Panel_setSelected(panel, mevent.y - panel->y + panel->scrollV);
ch = 0;
} else if (mevent.y == LINES - 1)
ch = IncSet_synthesizeEvent(this->inc, mevent.x);
+ }
}
if (this->inc->active) {