const correctness
svn-id: r8725
This commit is contained in:
parent
6b7e12faed
commit
30d985afb9
2 changed files with 2 additions and 2 deletions
|
@ -1178,7 +1178,7 @@ void OSystem_SDL_Common::setup_icon() {
|
||||||
}
|
}
|
||||||
memset(mask, 0, sizeof(mask));
|
memset(mask, 0, sizeof(mask));
|
||||||
for (h = 0; h < 32; h++) {
|
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++) {
|
for (w = 0; w < 32; w++) {
|
||||||
icon[w + 32 * h] = rgba[(int)line[w]];
|
icon[w + 32 * h] = rgba[(int)line[w]];
|
||||||
if (rgba[(int)line[w]] & 0xFF000000) {
|
if (rgba[(int)line[w]] & 0xFF000000) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* XPM */
|
/* XPM */
|
||||||
static char *scummvm_icon[] = {
|
static const char *scummvm_icon[] = {
|
||||||
/* columns rows colors chars-per-pixel */
|
/* columns rows colors chars-per-pixel */
|
||||||
"32 32 80 1",
|
"32 32 80 1",
|
||||||
" c black",
|
" c black",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue