Repository navigation
Commit ba6f54c
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 45d0ac8 commit ba6f54c
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
892 | 892 | | |
893 | 893 | | |
894 | 894 | | |
895 | | - | |
896 | 895 | | |
897 | 896 | | |
898 | | - | |
899 | | - | |
900 | 897 | | |
901 | 898 | | |
902 | | - | |
903 | | - | |
904 | 899 | | |
905 | 900 | | |
| 901 | + | |
906 | 902 | | |
907 | | - | |
908 | 903 | | |
909 | 904 | | |
910 | 905 | | |
| |||
0 commit comments