From 1173d8d359ffdf43fc48073eeb640534cab0be89 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 7 Aug 2005 12:08:40 +0200 Subject: Fixed cDvbSpuBitmap::putPixel() --- dvbspu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dvbspu.c') diff --git a/dvbspu.c b/dvbspu.c index 9c8da3b4..d9730c57 100644 --- a/dvbspu.c +++ b/dvbspu.c @@ -8,7 +8,7 @@ * * parts of this file are derived from the OMS program. * - * $Id: dvbspu.c 1.14 2005/05/07 11:13:48 kls Exp $ + * $Id: dvbspu.c 1.15 2005/08/07 12:06:32 kls Exp $ */ #include @@ -155,7 +155,7 @@ void cDvbSpuBitmap::putPixel(int xp, int yp, int len, uint8_t colorid) setMin(minsize[colorid].x1, xp); setMin(minsize[colorid].y1, yp); setMax(minsize[colorid].x2, xp + len - 1); - setMax(minsize[colorid].y2, yp + len - 1); + setMax(minsize[colorid].y2, yp); } static uint8_t getBits(uint8_t * &data, uint8_t & bitf) -- cgit v1.2.3