Fix typo that has been lurking since 2006

This commit is contained in:
Hisham Muhammad 2011-12-23 19:12:17 +00:00
parent 59d5eecdfd
commit 5b0b2255ef
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ Settings* Settings_new(ProcessList* pl, Header* header, int cpuCount) {
home = getenv("HOME_ETC");
if (!home) home = getenv("HOME");
if (!home) home = "";
rcfile = getenv("HOMERC");
rcfile = getenv("HTOPRC");
if (!rcfile)
this->userSettings = String_cat(home, "/.htoprc");
else