projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2316a8a
)
fixed crash in geeqie --blank
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Mon, 11 Aug 2008 18:53:19 +0000
(18:53 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Mon, 11 Aug 2008 18:53:19 +0000
(18:53 +0000)
src/layout.c
patch
|
blob
|
history
diff --git
a/src/layout.c
b/src/layout.c
index
9230cfe
..
cb08412
100644
(file)
--- a/
src/layout.c
+++ b/
src/layout.c
@@
-915,7
+915,9
@@
static void layout_sync_path(LayoutWindow *lw)
gint layout_set_path(LayoutWindow *lw, const gchar *path)
{
- FileData *fd = file_data_new_simple(path);
+ FileData *fd;
+ if (!path) return FALSE;
+ fd = file_data_new_simple(path);
gint ret = layout_set_fd(lw, fd);
file_data_unref(fd);
return ret;