changeset 255:40563fd744de

Fix a segfault occuring when enabling debug mode. At this point il->fd can be null.
author zas_
date Fri, 04 Apr 2008 18:50:52 +0000
parents 9faf34f047b1
children 088b335f2d67
files src/thumb_standard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/thumb_standard.c	Thu Apr 03 23:29:14 2008 +0000
+++ b/src/thumb_standard.c	Fri Apr 04 18:50:52 2008 +0000
@@ -542,7 +542,7 @@
 	if (debug)
 		{
 		printf("thumb image done: %s\n", tl->source_path);
-		printf("            from: %s\n", tl->il->fd->path);
+		printf("            from: %s\n", tl->il->path);
 		}
 
 	pixbuf = image_loader_get_pixbuf(tl->il);