Mercurial > geeqie.yaz
comparison src/pixbuf-renderer.c @ 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 | 9b01fe7e84d5 |
comparison
equal
deleted
inserted
replaced
33:a41ecbb26a96 | 34:772fe5a509b1 |
---|---|
2233 { | 2233 { |
2234 ImageTile *it; | 2234 ImageTile *it; |
2235 | 2235 |
2236 it = pr_tile_get(pr, i, j, | 2236 it = pr_tile_get(pr, i, j, |
2237 (only_existing && | 2237 (only_existing && |
2238 i + pr->tile_width < pr->x_scroll && | 2238 (i + pr->tile_width < pr->x_scroll || |
2239 i > pr->x_scroll + pr->vis_width && | 2239 i > pr->x_scroll + pr->vis_width || |
2240 j + pr->tile_height < pr->y_scroll && | 2240 j + pr->tile_height < pr->y_scroll || |
2241 j > pr->y_scroll +pr->vis_height)); | 2241 j > pr->y_scroll + pr->vis_height))); |
2242 if (it) | 2242 if (it) |
2243 { | 2243 { |
2244 QueueData *qd; | 2244 QueueData *qd; |
2245 | 2245 |
2246 if ((render == TILE_RENDER_ALL && it->render_done != TILE_RENDER_ALL) || | 2246 if ((render == TILE_RENDER_ALL && it->render_done != TILE_RENDER_ALL) || |