aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/game.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp
index a7e367ae2..0380c1661 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -1641,7 +1641,10 @@ bool Game::getServerContent(bool *aborted)
std::stringstream message;
std::fixed(message);
message.precision(0);
- message << gettext("Media...") << " " << (client->mediaReceiveProgress()*100) << "%";
+ float receive = client->mediaReceiveProgress() * 100;
+ message << gettext("Media...");
+ if (receive > 0)
+ message << " " << receive << "%";
message.precision(2);
if ((USE_CURL == 0) ||