mirror of https://github.com/xzeldon/htop.git
fix a bug about use of unitialised variable. refer to https://github.com/hishamhm/htop/issues/882
This commit is contained in:
parent
b7b4200f85
commit
a360a80d16
|
@ -135,7 +135,7 @@ void InfoScreen_run(InfoScreen* this) {
|
|||
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)
|
||||
} else if (mevent.y == LINES - 1)
|
||||
ch = IncSet_synthesizeEvent(this->inc, mevent.x);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue