Added some missing 'const' statements to cBitmap

This commit is contained in:
Klaus Schmidinger
2009-01-16 14:39:27 +01:00
parent 0c5374ce7d
commit 329d7da4ec
4 changed files with 7 additions and 5 deletions

4
osd.c
View File

@@ -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];
}