From db535acbf828bc5bfe10175717360eb986d7cb7c Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 29 Feb 2016 06:33:55 +0000 Subject: [PATCH] More of r5556. git-svn-id: https://svn.eduke32.com/eduke32@5635 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/screens.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/polymer/eduke32/source/screens.c b/polymer/eduke32/source/screens.c index b72ee180e..eb1a0f640 100644 --- a/polymer/eduke32/source/screens.c +++ b/polymer/eduke32/source/screens.c @@ -2035,19 +2035,19 @@ static int32_t G_PrintTime_ClockPad(void) int32_t clockpad = 2; int32_t ii, ij; - for (ii=g_player[myconnectindex].ps->player_par/(REALGAMETICSPERSEC*60), ij=1; ii>9; ii/=10, ij++); + for (ii=g_player[myconnectindex].ps->player_par/(REALGAMETICSPERSEC*60), ij=1; ii>9; ii/=10, ij++) { } clockpad = max(clockpad, ij); if (!(ud.volume_number == 0 && ud.last_level-1 == 7 && boardfilename[0])) { - for (ii=MapInfo[G_LastMapInfoIndex()].partime/(REALGAMETICSPERSEC*60), ij=1; ii>9; ii/=10, ij++); + for (ii=MapInfo[G_LastMapInfoIndex()].partime/(REALGAMETICSPERSEC*60), ij=1; ii>9; ii/=10, ij++) { } clockpad = max(clockpad, ij); if (!NAM_WW2GI && MapInfo[G_LastMapInfoIndex()].designertime) { - for (ii=MapInfo[G_LastMapInfoIndex()].designertime/(REALGAMETICSPERSEC*60), ij=1; ii>9; ii/=10, ij++); + for (ii=MapInfo[G_LastMapInfoIndex()].designertime/(REALGAMETICSPERSEC*60), ij=1; ii>9; ii/=10, ij++) { } clockpad = max(clockpad, ij); } } - if (ud.playerbest > 0) for (ii=ud.playerbest/(REALGAMETICSPERSEC*60), ij=1; ii>9; ii/=10, ij++); + if (ud.playerbest > 0) for (ii=ud.playerbest/(REALGAMETICSPERSEC*60), ij=1; ii>9; ii/=10, ij++) { } clockpad = max(clockpad, ij); return clockpad;