From af8ea0f33a1e9eafbed0a600e2071a6dd974c230 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 31 Oct 2010 02:21:09 +0200 Subject: [PATCH] Fix macro argument usage --- qcsrc/client/hud.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/hud.qh b/qcsrc/client/hud.qh index 8276b3091..c1939332c 100644 --- a/qcsrc/client/hud.qh +++ b/qcsrc/client/hud.qh @@ -88,7 +88,7 @@ var string panel_bg_padding_str; // Little help for the poor people who have to make sense of this: Start from the bottom ;) #define HUD_Panel_GetProgressBarColor(item) \ - progressbar_color = stov(cvar_string("hud_progressbar_##item##_color")) + progressbar_color = stov(cvar_string("hud_progressbar_" #item "_color")) #define HUD_Panel_GetProgressBarColorForString(item) \ switch(item) {\ case "strength": HUD_Panel_GetProgressBarColor(strength); break;\ -- 2.39.2