aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMax Horn2009-10-09 23:09:28 +0000
committerMax Horn2009-10-09 23:09:28 +0000
commit8b3ff337beadb78a8baca971043266f9a019d104 (patch)
treebcaf49090d75cefa38700055bc8f525eb7cc8b01 /engines/sci
parentd0876b06ed71979ee8f1370e738b5d4d7ba89d75 (diff)
downloadscummvm-rg350-8b3ff337beadb78a8baca971043266f9a019d104.tar.gz
scummvm-rg350-8b3ff337beadb78a8baca971043266f9a019d104.tar.bz2
scummvm-rg350-8b3ff337beadb78a8baca971043266f9a019d104.zip
don't discard const qualifier needlessly
svn-id: r44854
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/gfx/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/font.cpp b/engines/sci/gfx/font.cpp
index d695915cb1..387c41e889 100644
--- a/engines/sci/gfx/font.cpp
+++ b/engines/sci/gfx/font.cpp
@@ -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;