From: terencehill Date: Sun, 21 Apr 2019 18:07:19 +0000 (+0200) Subject: Replace utf8 character with its literal version in code X-Git-Tag: xonotic-v0.8.5~1540 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ccfe20fa636ecf91ec66ac39fcdd5bc7986e3a4b;p=xonotic%2Fxonotic-data.pk3dir.git Replace utf8 character with its literal version in code --- 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);