mirror of https://github.com/xzeldon/htop.git
Fix typo that has been lurking since 2006
This commit is contained in:
parent
59d5eecdfd
commit
5b0b2255ef
|
@ -217,7 +217,7 @@ Settings* Settings_new(ProcessList* pl, Header* header, int cpuCount) {
|
||||||
home = getenv("HOME_ETC");
|
home = getenv("HOME_ETC");
|
||||||
if (!home) home = getenv("HOME");
|
if (!home) home = getenv("HOME");
|
||||||
if (!home) home = "";
|
if (!home) home = "";
|
||||||
rcfile = getenv("HOMERC");
|
rcfile = getenv("HTOPRC");
|
||||||
if (!rcfile)
|
if (!rcfile)
|
||||||
this->userSettings = String_cat(home, "/.htoprc");
|
this->userSettings = String_cat(home, "/.htoprc");
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue