[Scummvm-cvs-logs] SF.net SVN: scummvm:[44854] scummvm/trunk/engines/sci/gfx/font.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sat Oct 10 01:09:29 CEST 2009
Revision: 44854
http://scummvm.svn.sourceforge.net/scummvm/?rev=44854&view=rev
Author: fingolfin
Date: 2009-10-09 23:09:28 +0000 (Fri, 09 Oct 2009)
Log Message:
-----------
don't discard const qualifier needlessly
Modified Paths:
--------------
scummvm/trunk/engines/sci/gfx/font.cpp
Modified: scummvm/trunk/engines/sci/gfx/font.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/font.cpp 2009-10-09 22:21:45 UTC (rev 44853)
+++ scummvm/trunk/engines/sci/gfx/font.cpp 2009-10-09 23:09:28 UTC (rev 44854)
@@ -172,7 +172,7 @@
}
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list