summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-01-16 14:39:27 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-01-16 14:39:27 +0100
commit329d7da4ecb00852a980ba407cf6cabd648d1e95 (patch)
tree5fa4aa959e793754accd72f7f771c2f661e213da /osd.c
parent0c5374ce7dbba7e0c527e61ae68e87ad5a61b20a (diff)
downloadvdr-329d7da4ecb00852a980ba407cf6cabd648d1e95.tar.gz
vdr-329d7da4ecb00852a980ba407cf6cabd648d1e95.tar.bz2
Added some missing 'const' statements to cBitmap
Diffstat (limited to 'osd.c')
-rw-r--r--osd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/osd.c b/osd.c
index 47a11b21..32614d87 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 1.75 2007/10/12 12:38:36 kls Exp $
+ * $Id: osd.c 2.1 2009/01/16 14:34:32 kls Exp $
*/
#include "osd.h"
@@ -635,7 +635,7 @@ void cBitmap::DrawSlope(int x1, int y1, int x2, int y2, tColor Color, int Type)
}
}
-const tIndex *cBitmap::Data(int x, int y)
+const tIndex *cBitmap::Data(int x, int y) const
{
return &bitmap[y * width + x];
}