From ccfe20fa636ecf91ec66ac39fcdd5bc7986e3a4b Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 21 Apr 2019 20:07:19 +0200 Subject: [PATCH] Replace utf8 character with its literal version in code --- qcsrc/client/hud/panel/scoreboard.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index 859e9fae4..89e774256 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -841,7 +841,7 @@ void Scoreboard_DrawItem(vector item_pos, vector rgb, entity pl, bool is_self, i vector pos = item_pos; // put a "self indicator" beside the self row - sbt_font_self = "◀"; // unicode U+25C0 (black left-pointing triangle) + sbt_font_self = "\xE2\x97\x80"; // unicode U+25C0 (black left-pointing triangle) if (is_self) drawstring(pos+eX*(panel_size.x+.5*hud_fontsize.x)+eY, sbt_font_self, vec2(hud_fontsize.x, hud_fontsize.y), rgb, panel_fg_alpha, DRAWFLAG_NORMAL); -- 2.39.2