diff options
author | Tim Angus <tim@ngus.net> | 2007-11-03 00:06:23 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2007-11-03 00:06:23 +0000 |
commit | c6a9027b7cf0d35401cae346b67ca95c5f55b4a1 (patch) | |
tree | 3e41bfc88a8fb845cff921ccd62f5b3489fee703 /src/ui/ui_main.c | |
parent | 5c3429cb21861e253d9a80fa07f6487013c99109 (diff) |
* Merge ioq3-r1204
Diffstat (limited to 'src/ui/ui_main.c')
-rw-r--r-- | src/ui/ui_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 39e6c1b5..7618c211 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -5535,7 +5535,7 @@ 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; } |