mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Pass Settings to CRT_init
Resolve todo
This commit is contained in:
2
htop.c
2
htop.c
@ -441,7 +441,7 @@ int main(int argc, char** argv) {
|
||||
Settings_setSortKey(settings, flags.sortKey);
|
||||
}
|
||||
|
||||
CRT_init(&(settings->delay), settings->colorScheme, flags.allowUnicode);
|
||||
CRT_init(settings, flags.allowUnicode);
|
||||
|
||||
MainPanel* panel = MainPanel_new();
|
||||
ProcessList_setPanel(pl, (Panel*) panel);
|
||||
|
Reference in New Issue
Block a user