From 3c3ba8f1aba4785f64d10256458a0a3c145c2554 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 18 Jun 2023 17:36:12 +0200 Subject: [PATCH] SCO_LABEL macro: remove redundant else and strcat --- qcsrc/client/hud/panel/scoreboard.qc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index 4d291b278..7a3d3ede8 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -127,8 +127,7 @@ string Label_getInfo(string label, int mode) case label: \ if (!mode) \ return CTX(strlabel); \ - else \ - LOG_HELP(strcat("^3", label, padding, "^7", help)); + LOG_HELP("^3", label, padding, "^7", help); switch(label) { -- 2.39.2