don't discard const qualifier needlessly

svn-id: r44854
This commit is contained in:
Max Horn 2009-10-09 23:09:28 +00:00
parent d0876b06ed
commit 8b3ff337be

View File

@ -172,7 +172,7 @@ static void render_char(byte *dest, byte *src, int width, int line_width, int li
}
gfx_pixmap_t *gfxr_draw_font(gfx_bitmap_font_t *font, const char *stext, int characters, PaletteEntry *fg0, PaletteEntry *fg1, PaletteEntry *bg) {
const byte *text = (byte *)stext;
const byte *text = (const byte *)stext;
int height = font->height;
int width = 0;
gfx_pixmap_t *pxm;