mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 08:31:14 +00:00
* (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)
* (bug 3363) Download percentage overflow (Martin Doucha <next_ghost@quick.cz>) * (bug 3390) MSVC project (Julian Priestley <juzley@gmail.com>) * For OS X and MinGW ports, don't -I code/SDL when USE_LOCAL_HEADERS is 0
This commit is contained in:
parent
881988636a
commit
31c24bd0d2
25 changed files with 10014 additions and 103 deletions
|
@ -5424,7 +5424,8 @@ static void UI_DisplayDownloadInfo( const char *downloadName, float centerPoint,
|
|||
Text_PaintCenter(centerPoint, yStart + 248, scale, colorWhite, xferText, 0);
|
||||
|
||||
if (downloadSize > 0) {
|
||||
s = va( "%s (%d%%)", downloadName, downloadCount * 100 / downloadSize );
|
||||
s = va( "%s (%d%%)", downloadName,
|
||||
(int)( (float)downloadCount * 100.0f / downloadSize ) );
|
||||
} else {
|
||||
s = downloadName;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue