From 72d5e52ff9635d29c49fe67d7d0153e9aa6885fc Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 16 Aug 2003 16:37:33 +0000 Subject: fix by Reinhard Nissl CVS patchset: 5294 CVS date: 2003/08/16 16:37:33 --- src/xine-engine/osd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xine-engine/osd.c b/src/xine-engine/osd.c index 89a0fc28c..98f1732e0 100644 --- a/src/xine-engine/osd.c +++ b/src/xine-engine/osd.c @@ -1141,9 +1141,9 @@ static void osd_draw_bitmap(osd_object_t *osd, uint8_t *bitmap, /* update clipping area */ osd->x1 = MIN( osd->x1, x1 ); - osd->x2 = MAX( osd->x2, x1+width ); + osd->x2 = MAX( osd->x2, x1+width-1 ); osd->y1 = MIN( osd->y1, y1 ); - osd->y2 = MAX( osd->y2, y1+height ); + osd->y2 = MAX( osd->y2, y1+height-1 ); for( y=0; y