projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug fix #934: Request to add image bookmarking/tagging within a folder
[geeqie.git]
/
src
/
history_list.c
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;
}