mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
Make sure these are initialized.
This commit is contained in:
parent
d7c843c23b
commit
6302b3e593
@ -170,6 +170,8 @@ MetersPanel* MetersPanel_new(Settings* settings, const char* header, Vector* met
|
||||
this->meters = meters;
|
||||
this->scr = scr;
|
||||
this->moving = false;
|
||||
this->rightNeighbor = NULL;
|
||||
this->leftNeighbor = NULL;
|
||||
Panel_setHeader(super, header);
|
||||
for (int i = 0; i < Vector_size(meters); i++) {
|
||||
Meter* meter = (Meter*) Vector_get(meters, i);
|
||||
|
Loading…
Reference in New Issue
Block a user