projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1823d23
)
Prevent segfault in certain conditions when displaying debug message.
author
Laurent Monin
<geeqie@norz.org>
Sat, 5 Jul 2008 10:21:09 +0000
(10:21 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Sat, 5 Jul 2008 10:21:09 +0000
(10:21 +0000)
src/thumb_standard.c
patch
|
blob
|
history
diff --git
a/src/thumb_standard.c
b/src/thumb_standard.c
index
6d6c1d0
..
f9d1fb5
100644
(file)
--- a/
src/thumb_standard.c
+++ b/
src/thumb_standard.c
@@
-541,7
+541,7
@@
static void thumb_loader_std_done_cb(ImageLoader *il, gpointer data)
ThumbLoaderStd *tl = data;
GdkPixbuf *pixbuf;
- DEBUG_1("thumb image done: %s", tl->fd
->path
);
+ DEBUG_1("thumb image done: %s", tl->fd
? tl->fd->path : "???"
);
DEBUG_1(" from: %s", tl->il->path);
pixbuf = image_loader_get_pixbuf(tl->il);