Minor fix to HTOPRC feature.

This commit is contained in:
Hisham Muhammad 2006-05-09 17:59:20 +00:00
parent 9d5cc90497
commit 847b34d382
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ Settings* Settings_new(ProcessList* pl, Header* header) {
this->pl = pl;
this->header = header;
char* home;
char* homerc;
char* rcfile;
home = getenv("HOME_ETC");
if (!home) home = getenv("HOME");
if (!home) home = "";