From 6fa2c850bd03130384c242836da940ad13de4947 Mon Sep 17 00:00:00 2001
From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org>
Date: Mon, 24 Nov 1997 17:11:55 +0100
Subject: [PATCH] img_box(_nocheck) fixed

Rev: src/modules/Image/blit.c:1.24
---
 src/modules/Image/blit.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/modules/Image/blit.c b/src/modules/Image/blit.c
index cc0bc6e249..e6d475b4b0 100644
--- a/src/modules/Image/blit.c
+++ b/src/modules/Image/blit.c
@@ -1,10 +1,10 @@
-/* $Id: blit.c,v 1.23 1997/11/24 15:43:10 mirar Exp $ */
+/* $Id: blit.c,v 1.24 1997/11/24 16:11:55 mirar Exp $ */
 #include "global.h"
 
 /*
 **! module Image
 **! note
-**!	$Id: blit.c,v 1.23 1997/11/24 15:43:10 mirar Exp $
+**!	$Id: blit.c,v 1.24 1997/11/24 16:11:55 mirar Exp $
 **! class image
 */
 
@@ -137,7 +137,7 @@ void img_box_nocheck(INT32 x1,INT32 y1,INT32 x2,INT32 y2)
    rgb=this->rgb;
    mod=this->xsize-(x2-x1)-1;
    foo=this->img+x1+y1*this->xsize;
-   end=this->img+x1+y2*this->xsize;
+   end=this->img+x2+y2*this->xsize+1;
 
    THREADS_ALLOW();
    if(!this->alpha)
-- 
GitLab