From: terencehill Date: Sun, 18 Jun 2023 15:36:12 +0000 (+0200) Subject: SCO_LABEL macro: remove redundant else and strcat X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3c3ba8f1aba4785f64d10256458a0a3c145c2554;p=xonotic%2Fxonotic-data.pk3dir.git SCO_LABEL macro: remove redundant else and strcat --- 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) {