From d14de196e8f47ed926a4f30c82bc7eb81c0a6af1 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 12 Oct 2003 09:45:51 +0200 Subject: Fixed initializing the highlight area in cDvbSpuDecoder --- dvbspu.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dvbspu.c') diff --git a/dvbspu.c b/dvbspu.c index 27e0bed5..74ace19a 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.4 2003/08/15 13:04:39 kls Exp $ + * $Id: dvbspu.c 1.5 2003/10/12 09:43:18 kls Exp $ */ #include @@ -297,6 +297,10 @@ void cDvbSpuDecoder::clearHighlight(void) { clean &= !highlight; highlight = false; + hlpsize.x1 = -1; + hlpsize.y1 = -1; + hlpsize.x2 = -1; + hlpsize.y2 = -1; } int cDvbSpuDecoder::ScaleYcoord(int value) -- cgit v1.2.3