Commit 847b34d3 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Minor fix to HTOPRC feature.

parent 9d5cc904
...@@ -32,7 +32,7 @@ Settings* Settings_new(ProcessList* pl, Header* header) { ...@@ -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 = "";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment