Mercurial > hg > forks > geeqie
changeset 2384:82d8d3deae03
Bug Fix #426: geeqie -r file:FILE crashes if FILE does not exist
If the file does not exist, default to the home directory
author | Colin Clark <cclark@mcb.net> |
---|---|
date | Wed, 24 Aug 2016 17:01:32 +0100 |
parents | 9167a360c4b3 |
children | a7a8cacff188 |
files | src/remote.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/remote.c Mon Aug 22 15:03:10 2016 +0100 +++ b/src/remote.c Wed Aug 24 17:01:32 2016 +0100 @@ -516,6 +516,7 @@ else { log_printf("remote sent filename that does not exist:\"%s\"\n", filename); + layout_set_path(NULL, homedir()); } g_free(filename); @@ -532,6 +533,7 @@ else { log_printf("remote sent filename that does not exist:\"%s\"\n", filename); + layout_set_path(NULL, homedir()); } g_free(filename);