diff src/pixbuf-renderer.c @ 95:eb9bb29cbd65

Fri Nov 3 11:40:48 2006 John Ellis <johne@verizon.net> * bar_exif.[ch]: Make list of general exif tags available to rest of application. * pan-view.c: Add option to display exif information in info popup. Clean up the info popup text alignment. Make displaying the full size image below the info popup optional (off by default). * pixbuf-renderer.c (pr_source_tile_changed): Guard against width/height less than 1. * pibuf_util.c (pixbuf_draw_layout): Guard against width/height less than 1.
author gqview
date Fri, 03 Nov 2006 16:49:29 +0000
parents a2b0a7b0b490
children d19b0de6d0bb
line wrap: on
line diff
--- a/src/pixbuf-renderer.c	Thu Nov 02 23:27:03 2006 +0000
+++ b/src/pixbuf-renderer.c	Fri Nov 03 16:49:29 2006 +0000
@@ -1399,6 +1399,8 @@
 {
 	GList *work;
 
+	if (width < 1 || height < 1) return;
+
 	work = pr->source_tiles;
 	while (work)
 		{