From be7d6241c297f5e2bca3e6a83cd21d7b62ad539e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 19 Mar 2019 01:23:54 +0100 Subject: [PATCH] - localize 'By' --- src/d_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index 81ce4b8a3a..dc79c48586 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -863,7 +863,7 @@ void D_Display () { FTexture *tex; int x; - FString pstring = "By "; + FString pstring = GStrings("TXT_BY"); tex = TexMan.GetTextureByName(gameinfo.PauseSign, true); x = (SCREENWIDTH - tex->GetDisplayWidth() * CleanXfac)/2 + @@ -871,7 +871,7 @@ void D_Display () screen->DrawTexture (tex, x, 4, DTA_CleanNoMove, true, TAG_DONE); if (paused && multiplayer) { - pstring += players[paused - 1].userinfo.GetName(); + pstring << ' ' << players[paused - 1].userinfo.GetName(); screen->DrawText(SmallFont, CR_RED, (screen->GetWidth() - SmallFont->StringWidth(pstring)*CleanXfac) / 2, (tex->GetDisplayHeight() * CleanYfac) + 4, pstring, DTA_CleanNoMove, true, TAG_DONE);