Commit ae8a84d
committed
Settings_new() code shrink
No need to temporarily duplicate the XDG_CONFIG_HOME path string.
Note that I didn't simplify or leave out the allocation of
"$XDG_CONFIG_HOME/htop" or "$HOME/.config/htop" string because I
suspect this string might be reused in the future.
Signed-off-by: Kang-Che Sung <[email protected]>1 parent 7cc12ba commit ae8a84d
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
688 | | - | |
| 688 | + | |
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
| |||
881 | 881 | | |
882 | 882 | | |
883 | 883 | | |
884 | | - | |
885 | 884 | | |
886 | 885 | | |
887 | | - | |
888 | | - | |
889 | 886 | | |
890 | 887 | | |
891 | | - | |
892 | | - | |
893 | 888 | | |
894 | 889 | | |
| 890 | + | |
895 | 891 | | |
896 | | - | |
897 | 892 | | |
898 | 893 | | |
899 | 894 | | |
| |||
0 commit comments