mirror of https://github.com/xzeldon/htop.git
Fix misleading indentation
This commit is contained in:
parent
402e46bb82
commit
8de04986cf
|
@ -131,13 +131,16 @@ void InfoScreen_run(InfoScreen* this) {
|
||||||
if (ch == KEY_MOUSE) {
|
if (ch == KEY_MOUSE) {
|
||||||
MEVENT mevent;
|
MEVENT mevent;
|
||||||
int ok = getmouse(&mevent);
|
int ok = getmouse(&mevent);
|
||||||
if (ok == OK)
|
if (ok == OK) {
|
||||||
if (mevent.y >= panel->y && mevent.y < LINES - 1) {
|
if (mevent.y >= panel->y && mevent.y < LINES - 1) {
|
||||||
Panel_setSelected(panel, mevent.y - panel->y + panel->scrollV);
|
Panel_setSelected(panel, mevent.y - panel->y + panel->scrollV);
|
||||||
ch = 0;
|
ch = 0;
|
||||||
} if (mevent.y == LINES - 1)
|
}
|
||||||
|
if (mevent.y == LINES - 1){
|
||||||
ch = IncSet_synthesizeEvent(this->inc, mevent.x);
|
ch = IncSet_synthesizeEvent(this->inc, mevent.x);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (this->inc->active) {
|
if (this->inc->active) {
|
||||||
IncSet_handleKey(this->inc, ch, panel, IncSet_getListItemValue, this->lines);
|
IncSet_handleKey(this->inc, ch, panel, IncSet_getListItemValue, this->lines);
|
||||||
|
|
Loading…
Reference in New Issue