mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 11:20:40 +00:00
const correctness
svn-id: r8725
This commit is contained in:
parent
6b7e12faed
commit
30d985afb9
@ -1178,7 +1178,7 @@ void OSystem_SDL_Common::setup_icon() {
|
||||
}
|
||||
memset(mask, 0, sizeof(mask));
|
||||
for (h = 0; h < 32; h++) {
|
||||
char *line = scummvm_icon[1 + ncols + h];
|
||||
const char *line = scummvm_icon[1 + ncols + h];
|
||||
for (w = 0; w < 32; w++) {
|
||||
icon[w + 32 * h] = rgba[(int)line[w]];
|
||||
if (rgba[(int)line[w]] & 0xFF000000) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* XPM */
|
||||
static char *scummvm_icon[] = {
|
||||
static const char *scummvm_icon[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"32 32 80 1",
|
||||
" c black",
|
||||
|
Loading…
Reference in New Issue
Block a user