Commit 38e0e08
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 <explorer09@gmail.com>1 parent 0bf0fe1 commit 38e0e08
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
899 | | - | |
900 | 899 | | |
901 | 900 | | |
902 | | - | |
903 | | - | |
904 | 901 | | |
905 | 902 | | |
906 | | - | |
907 | | - | |
908 | 903 | | |
909 | 904 | | |
| 905 | + | |
910 | 906 | | |
911 | | - | |
912 | 907 | | |
913 | 908 | | |
914 | 909 | | |
| |||
0 commit comments