Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
847b34d3
Commit
847b34d3
authored
May 09, 2006
by
Hisham Muhammad
Browse files
Minor fix to HTOPRC feature.
parent
9d5cc904
Changes
1
Hide whitespace changes
Inline
Side-by-side
Settings.c
View file @
847b34d3
...
@@ -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
=
""
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment