mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
SW: Fix remaining -Wcast-qual warnings
git-svn-id: https://svn.eduke32.com/eduke32@7530 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
068a254c52
commit
d14039e821
1 changed files with 3 additions and 3 deletions
|
@ -932,14 +932,14 @@ SWBOOL MNU_KeySetupCustom(UserCall call, MenuItem *item)
|
||||||
|
|
||||||
p = keyGetName(KeyboardKeys[i][0]);
|
p = keyGetName(KeyboardKeys[i][0]);
|
||||||
if (!p || KeyboardKeys[i][0]==0xff) p = " -";
|
if (!p || KeyboardKeys[i][0]==0xff) p = " -";
|
||||||
MNU_DrawSmallString(OPT_XSIDE, j, (char *)p, (i==currentkey) ? -5 : 12,
|
MNU_DrawSmallString(OPT_XSIDE, j, p, (i==currentkey) ? -5 : 12,
|
||||||
(i==currentkey && currentcol==0) ? 14 : 16);
|
(i==currentkey && currentcol==0) ? 14 : 16);
|
||||||
|
|
||||||
if (i == gamefunc_Show_Console) continue;
|
if (i == gamefunc_Show_Console) continue;
|
||||||
|
|
||||||
p = keyGetName(KeyboardKeys[i][1]);
|
p = keyGetName(KeyboardKeys[i][1]);
|
||||||
if (!p || KeyboardKeys[i][1]==0xff) p = " -";
|
if (!p || KeyboardKeys[i][1]==0xff) p = " -";
|
||||||
MNU_DrawSmallString(OPT_XSIDE + 4*14, j, (char *)p, (i==currentkey) ? -5 : 12,
|
MNU_DrawSmallString(OPT_XSIDE + 4*14, j, p, (i==currentkey) ? -5 : 12,
|
||||||
(i==currentkey && currentcol==1) ? 14 : 16);
|
(i==currentkey && currentcol==1) ? 14 : 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2705,7 +2705,7 @@ void LoadSaveMsg(const char *msg)
|
||||||
|
|
||||||
renderFlushPerms();
|
renderFlushPerms();
|
||||||
DrawMenuLevelScreen();
|
DrawMenuLevelScreen();
|
||||||
strcpy((char *)ds, (char *)msg);
|
strcpy(ds, msg);
|
||||||
MNU_MeasureString(ds, &w, &h);
|
MNU_MeasureString(ds, &w, &h);
|
||||||
MNU_DrawString(TEXT_XCENTER(w), 170, ds, 1, 16);
|
MNU_DrawString(TEXT_XCENTER(w), 170, ds, 1, 16);
|
||||||
videoNextPage();
|
videoNextPage();
|
||||||
|
|
Loading…
Reference in a new issue