Use proper width in format specifier - patch by Kp
This commit is contained in:
parent
66668712bf
commit
a43f76e7ac
|
@ -19,6 +19,7 @@ arch/ogl/gr.c, main/game.c: Moved screenshot message formating to HUD_init_messa
|
|||
main/automap.c, main/credits.c, main/gamerend.c, main/gauges.c, main/hud.c, main/kmatrix.c, main/menu.c, main/newmenu.c, main/scores.c: Converted gr_printf to gr_string where needed - patch by Kp
|
||||
editor/medrobot.c, main/endlevel.c, main/fireball.c, main/gamecntl.c, main/hostage.c, main/multi.c, main/newdemo.c, main/powerup.c, main/wall.c, main/weapon.c, ui/file.c: Added dummy "%s" to prevent formatting untrusted literals - patch by Kp
|
||||
main/hud.c: Removed obsolete HUD cleaning code - patch by Kp
|
||||
editor/info.c: Use proper width in format specifier - patch by Kp
|
||||
|
||||
20121102
|
||||
--------
|
||||
|
|
|
@ -262,7 +262,7 @@ void info_display_default(int show_all)
|
|||
//--------------- Current_side_number -------------
|
||||
|
||||
if (( old_Cursegp_num != Cursegp-Segments ) || ( old_Curside != Curside )) {
|
||||
gr_uprintf( 0, 48, "Cursegp/side: %3d/%1d", Cursegp-Segments, Curside);
|
||||
gr_uprintf( 0, 48, "Cursegp/side: %3ld/%1d", Cursegp-Segments, Curside);
|
||||
gr_uprintf( 0, 128, " tmap1,2,o: %3d/%3dx%1d", Cursegp->sides[Curside].tmap_num, Cursegp->sides[Curside].tmap_num2 & 0x3FFF, (Cursegp->sides[Curside].tmap_num2 >> 14) & 3);
|
||||
old_Cursegp_num = Cursegp-Segments;
|
||||
old_Curside = Curside;
|
||||
|
|
Loading…
Reference in a new issue