[gegl/samplers] sampler: revert to >= from > in gegl_sampler_get_from_buffer
- From: Nicolas Robidoux <nrobidoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/samplers] sampler: revert to >= from > in gegl_sampler_get_from_buffer
- Date: Tue, 28 Jun 2011 14:14:55 +0000 (UTC)
commit 432d9458ca44c2a20fc1f16b37b725400d41ab77
Author: Nicolas Robidoux <nicolas robidoux gmail com>
Date: Tue Jun 28 10:14:50 2011 -0400
sampler: revert to >= from > in gegl_sampler_get_from_buffer
gegl/buffer/gegl-sampler.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler.c b/gegl/buffer/gegl-sampler.c
index 68c5133..d390671 100644
--- a/gegl/buffer/gegl-sampler.c
+++ b/gegl/buffer/gegl-sampler.c
@@ -337,9 +337,9 @@ gegl_sampler_get_from_buffer (GeglSampler *const sampler,
||
( y < sampler->sampler_rectangle[0].y )
||
- ( x > sampler->sampler_rectangle[0].x + sampler->sampler_rectangle[0].width )
+ ( x >= sampler->sampler_rectangle[0].x + sampler->sampler_rectangle[0].width )
||
- ( y > sampler->sampler_rectangle[0].y + sampler->sampler_rectangle[0].height ))
+ ( y >= sampler->sampler_rectangle[0].y + sampler->sampler_rectangle[0].height ))
{
/*
* fetch_rectangle will become the value of
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]