From c8b8958cefebc42706aa9baa2cfdecf4196a77b4 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 20 Apr 2011 16:03:06 +0200 Subject: [PATCH] fix scoreboard field widths when translated --- qcsrc/client/scoreboard.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/scoreboard.qc b/qcsrc/client/scoreboard.qc index 517065ac5..db3d9e06d 100644 --- a/qcsrc/client/scoreboard.qc +++ b/qcsrc/client/scoreboard.qc @@ -365,7 +365,7 @@ void Cmd_HUD_SetFields(float argc) strunzone(hud_title[hud_num_fields]); hud_title[hud_num_fields] = strzone(TranslateScoresLabel(str)); - hud_size[hud_num_fields] = stringwidth(str, FALSE, hud_fontsize); + hud_size[hud_num_fields] = stringwidth(hud_title[hud_num_fields], FALSE, hud_fontsize); str = strtolower(str); if(str == "ping") { -- 2.39.2