summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--osd.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 3091a967..e880f787 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6561,3 +6561,4 @@ Video Disk Recorder Revision History
- Reduced CPU load when pausing a replay (thanks to Johann Friedrichs).
- Changed -O2 to -O3 in Make.config.template (reported by Matti Lehtimäki).
+- Added a missing 'default' case in cPixmapMemory::DrawEllipse().
diff --git a/osd.c b/osd.c
index 3a535561..132974ab 100644
--- a/osd.c
+++ b/osd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* 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"
@@ -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 -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;
+ default: ;
}
x++;
StoppingX += TwoBSquare;