mirror of
https://github.com/xzeldon/htop.git
synced 2025-04-11 13:07:08 +03:00
Minor fix to HTOPRC feature.
This commit is contained in:
parent
9d5cc90497
commit
847b34d382
@ -32,7 +32,7 @@ Settings* Settings_new(ProcessList* pl, Header* header) {
|
|||||||
this->pl = pl;
|
this->pl = pl;
|
||||||
this->header = header;
|
this->header = header;
|
||||||
char* home;
|
char* home;
|
||||||
char* homerc;
|
char* rcfile;
|
||||||
home = getenv("HOME_ETC");
|
home = getenv("HOME_ETC");
|
||||||
if (!home) home = getenv("HOME");
|
if (!home) home = getenv("HOME");
|
||||||
if (!home) home = "";
|
if (!home) home = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user