diff src/layout.c @ 888:d8e1e820cee7

reload changed images
author nadvornik
date Thu, 17 Jul 2008 21:51:21 +0000
parents 1b14c0e177ad
children c414002a1f27
line wrap: on
line diff
--- a/src/layout.c	Tue Jul 15 15:37:14 2008 +0000
+++ b/src/layout.c	Thu Jul 17 21:51:21 2008 +0000
@@ -585,7 +585,7 @@
 	gtk_label_set_text(GTK_LABEL(lw->info_zoom), text);
 	g_free(text);
 
-	b = text_from_size(lw->image->size);
+	b = image_get_fd(lw->image) ? text_from_size(image_get_fd(lw->image)->size) : g_strdup("0");
 
 	if (lw->image->unknown)
 		{