From 710590f689cae3940759b98f3080be6866b85245 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 7 Apr 2014 11:24:03 +0200 Subject: [PATCH] Fix wrong use of ##. --- qcsrc/client/hud.qh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/client/hud.qh b/qcsrc/client/hud.qh index 46bc0efbf..5c062c5fa 100644 --- a/qcsrc/client/hud.qh +++ b/qcsrc/client/hud.qh @@ -118,7 +118,7 @@ float current_player; #define HUD_PANEL(NAME,draw_func,name) \ float HUD_PANEL_##NAME; \ - void ##draw_func(void); \ + void draw_func(void); \ void RegisterHUD_Panel_##NAME() \ { \ HUD_PANEL_LAST = HUD_PANEL_##NAME = HUD_PANEL_NUM; \ @@ -127,7 +127,7 @@ float current_player; hud_panelent.classname = "hud_panel"; \ hud_panelent.panel_name = #name; \ hud_panelent.panel_id = HUD_PANEL_##NAME; \ - hud_panelent.panel_draw = ##draw_func; \ + hud_panelent.panel_draw = draw_func; \ ++HUD_PANEL_NUM; \ } \ ACCUMULATE_FUNCTION(RegisterHUD_Panels, RegisterHUD_Panel_##NAME); -- 2.39.2