From 9c8756556aea97ff346357f27a66d37d1401c1e0 Mon Sep 17 00:00:00 2001 From: Frode Langelo Date: Wed, 8 Jul 2015 11:12:34 -0700 Subject: [PATCH] GUAC-1247: Fix case where 1x1 pixel surface put with non-dirty data was not ignored --- src/common/guac_surface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/guac_surface.c b/src/common/guac_surface.c index fab593c8..d2c6a435 100644 --- a/src/common/guac_surface.c +++ b/src/common/guac_surface.c @@ -437,8 +437,8 @@ static void __guac_common_surface_put(unsigned char* src_buffer, int src_stride, int x, y; - int min_x = rect->width - 1; - int min_y = rect->height - 1; + int min_x = rect->width; + int min_y = rect->height; int max_x = 0; int max_y = 0;