Fix misleading indentation

This commit is contained in:
Jorge Pereira 2020-06-11 13:41:13 -03:00
parent 402e46bb82
commit 8de04986cf
No known key found for this signature in database
GPG Key ID: 3506FEC2EECDAA6D

View File

@ -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) {