mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-10 03:04:36 +03:00
Get FreeBSD tree to compile again with latest changes.
This commit is contained in:
@ -129,7 +129,9 @@ ColumnsPanel* ColumnsPanel_new(Settings* settings) {
|
||||
|
||||
ProcessField* fields = this->settings->fields;
|
||||
for (; *fields; fields++) {
|
||||
Panel_add(super, (Object*) ListItem_new(Process_fields[*fields].name, *fields));
|
||||
if (Process_fields[*fields].name) {
|
||||
Panel_add(super, (Object*) ListItem_new(Process_fields[*fields].name, *fields));
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user