mirror of https://github.com/xzeldon/htop.git
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…
Reference in New Issue