]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
SCO_LABEL macro: remove redundant else and strcat
authorterencehill <piuntn@gmail.com>
Sun, 18 Jun 2023 15:36:12 +0000 (17:36 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 18 Jun 2023 15:36:12 +0000 (17:36 +0200)
qcsrc/client/hud/panel/scoreboard.qc

index 4d291b278c375d6fd4d7817a6336f2953d3650d7..7a3d3ede872b7f3c573765a203edb1b02a27279e 100644 (file)
@@ -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)
        {