Mercurial > geeqie
changeset 881:10d0bf784323
Prevent segfault in certain conditions when displaying debug message.
author | zas_ |
---|---|
date | Sat, 05 Jul 2008 10:21:09 +0000 |
parents | 71fc4b084e7e |
children | 912726c2f5e3 |
files | src/thumb_standard.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/thumb_standard.c Fri Jul 04 22:49:04 2008 +0000 +++ b/src/thumb_standard.c Sat Jul 05 10:21:09 2008 +0000 @@ -541,7 +541,7 @@ 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);