projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8552b67
)
Bug fix #934: Request to add image bookmarking/tagging within a folder
author
Colin Clark
<colin.clark@cclark.uk>
Sat, 23 Apr 2022 08:50:47 +0000
(09:50 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
Sat, 23 Apr 2022 08:50:47 +0000
(09:50 +0100)
https://github.com/BestImageViewer/geeqie/issues/934
Check if image still exists.
src/history_list.c
patch
|
blob
|
history
diff --git
a/src/history_list.c
b/src/history_list.c
index
d9770bc
..
e96b53f
100644
(file)
--- a/
src/history_list.c
+++ b/
src/history_list.c
@@
-556,7
+556,10
@@
gchar *get_recent_viewed_folder_image(gchar *path)
if (g_strcmp0(dirname, path) == 0)
{
- ret = g_strdup(work->data);
+ if (isfile(work->data))
+ {
+ ret = g_strdup(work->data);
+ }
g_free(dirname);
break;
}