Commit bf06feb92689a13f8df6d9be1c7edd3f16e5e69c
Fix :restart mkdir trash in incorrect place on Win
Happened when $HOME contained backslash, which was then consumed by
expand_path() in trashdir_handler.
Author: xaizek
Author date (UTC): 2022-06-25 15:37
Committer name: xaizek
Committer date (UTC): 2022-06-25 15:37
Parent(s): 515b837e3f32b97592afc05bb5c7f5ae7c2636c4
Signing key: 99DC5E4DB05F6BE2
Tree: 2ee1448e67016b6465bc7cafd750c9179af37189
File ChangeLog changed (mode: 100644) (index 8ee0de3a5..ed0ed64fa) |
182 |
182 |
|
|
183 |
183 |
Fixed conflict dialog offering merging on rl and al normal mode commands. |
Fixed conflict dialog offering merging on rl and al normal mode commands. |
184 |
184 |
|
|
|
185 |
|
Fixed :restart creating trash directory in incorrect location on Windows |
|
186 |
|
in some cases. |
|
187 |
|
|
185 |
188 |
0.12-beta to 0.12 (2021-09-29) |
0.12-beta to 0.12 (2021-09-29) |
186 |
189 |
|
|
187 |
190 |
Made :VifmCs of the plugin handle 24-bit colors. |
Made :VifmCs of the plugin handle 24-bit colors. |
File src/cfg/config.c changed (mode: 100644) (index 2b925ab19..388ba8410) |
... |
... |
try_home_envvar_for_conf(int force) |
400 |
400 |
} |
} |
401 |
401 |
|
|
402 |
402 |
snprintf(vifm, sizeof(vifm), "%s/.vifm", home); |
snprintf(vifm, sizeof(vifm), "%s/.vifm", home); |
|
403 |
|
system_to_internal_slashes(vifm); |
|
404 |
|
|
403 |
405 |
if(!force && !is_dir(vifm)) |
if(!force && !is_dir(vifm)) |
404 |
406 |
{ |
{ |
405 |
407 |
return 0; |
return 0; |