changeset 34:772fe5a509b1

Thu Apr 7 08:42:54 2005 John Ellis <johne@verizon.net> * pixbuf-renderer.c (pr_queue_to_tiles): Fix logic in test for only_existing argument. ##### Note: GQview CVS on sourceforge is not always up to date, please use ##### ##### an offical release when making enhancements and translation updates. #####
author gqview
date Thu, 07 Apr 2005 12:50:57 +0000
parents a41ecbb26a96
children e46aedb70f67
files ChangeLog src/pixbuf-renderer.c
diffstat 2 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Apr 06 10:45:36 2005 +0000
+++ b/ChangeLog	Thu Apr 07 12:50:57 2005 +0000
@@ -1,3 +1,8 @@
+Thu Apr  7 08:42:54 2005  John Ellis  <johne@verizon.net>
+
+	* pixbuf-renderer.c (pr_queue_to_tiles): Fix logic in test for
+	only_existing argument.
+
 Wed Apr  6 06:41:25 2005  John Ellis  <johne@verizon.net>
 
 	* pan-view.c: Move pixbuf drawing into pixbuf_util.c.
--- a/src/pixbuf-renderer.c	Wed Apr 06 10:45:36 2005 +0000
+++ b/src/pixbuf-renderer.c	Thu Apr 07 12:50:57 2005 +0000
@@ -2235,10 +2235,10 @@
 
 			it = pr_tile_get(pr, i, j,
 					 (only_existing &&
-					  i + pr->tile_width < pr->x_scroll &&
-					  i > pr->x_scroll + pr->vis_width &&
-					  j + pr->tile_height < pr->y_scroll &&
-					  j > pr->y_scroll +pr->vis_height));
+					  (i + pr->tile_width < pr->x_scroll ||
+					   i > pr->x_scroll + pr->vis_width ||
+					   j + pr->tile_height < pr->y_scroll ||
+					   j > pr->y_scroll + pr->vis_height)));
 			if (it)
 				{
 				QueueData *qd;