diff options
author | Jorge Pereira <jpereiran@gmail.com> | 2020-06-11 13:41:13 -0300 |
---|---|---|
committer | Jorge Pereira <jpereiran@gmail.com> | 2020-06-11 13:42:41 -0300 |
commit | 8de04986cf1fbb9d7555ae64e9f17ef5a43bec65 (patch) | |
tree | b69b46c9add5c35c34be602a323738aadf54957d | |
parent | 402e46bb82964366746b86d77eb5afa69c279539 (diff) |
Fix misleading indentation
-rw-r--r-- | InfoScreen.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/InfoScreen.c b/InfoScreen.c index fab8daea..860e1983 100644 --- a/InfoScreen.c +++ b/InfoScreen.c @@ -131,12 +131,15 @@ 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; - } if (mevent.y == LINES - 1) + } + if (mevent.y == LINES - 1){ ch = IncSet_synthesizeEvent(this->inc, mevent.x); + } + } } if (this->inc->active) { |