1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added a missing 'default' case in cPixmapMemory::DrawEllipse()

This commit is contained in:
Klaus Schmidinger 2011-03-13 13:53:08 +01:00
parent 1c86e0127e
commit 06a16e7fba
2 changed files with 3 additions and 1 deletions

View File

@ -6561,3 +6561,4 @@ Video Disk Recorder Revision History
- Reduced CPU load when pausing a replay (thanks to Johann Friedrichs). - Reduced CPU load when pausing a replay (thanks to Johann Friedrichs).
- Changed -O2 to -O3 in Make.config.template (reported by Matti Lehtimäki). - Changed -O2 to -O3 in Make.config.template (reported by Matti Lehtimäki).
- Added a missing 'default' case in cPixmapMemory::DrawEllipse().

3
osd.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: osd.c 2.17 2011/03/12 15:32:33 kls Exp $ * $Id: osd.c 2.18 2011/03/13 13:52:01 kls Exp $
*/ */
#include "osd.h" #include "osd.h"
@ -1394,6 +1394,7 @@ void cPixmapMemory::DrawEllipse(const cRect &Rect, tColor Color, int Quadrants)
case -2: DrawRectangle(cRect(x1, cy - y, cx - x - x1 + 1, 1), Color); break; case -2: DrawRectangle(cRect(x1, cy - y, cx - x - x1 + 1, 1), Color); break;
case -3: DrawRectangle(cRect(x1, cy + y, cx - x - x1 + 1, 1), Color); break; case -3: DrawRectangle(cRect(x1, cy + y, cx - x - x1 + 1, 1), Color); break;
case -4: DrawRectangle(cRect(cx + x, cy + y, x2 - x + 1, 1), Color); break; case -4: DrawRectangle(cRect(cx + x, cy + y, x2 - x + 1, 1), Color); break;
default: ;
} }
x++; x++;
StoppingX += TwoBSquare; StoppingX += TwoBSquare;