From: Rudolf Polzer Date: Mon, 7 Apr 2014 09:24:03 +0000 (+0200) Subject: Fix wrong use of ##. X-Git-Tag: xonotic-v0.8.0~224 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=710590f689cae3940759b98f3080be6866b85245;p=xonotic%2Fxonotic-data.pk3dir.git Fix wrong use of ##. --- 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);