projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d4645d
)
Replace utf8 character with its literal version in code
author
terencehill <piuntn@gmail.com>
Sun, 21 Apr 2019 18:07:19 +0000
(20:07 +0200)
committer
terencehill <piuntn@gmail.com>
Sun, 21 Apr 2019 18:07:19 +0000
(20:07 +0200)
qcsrc/client/hud/panel/scoreboard.qc
patch
|
blob
|
history
diff --git
a/qcsrc/client/hud/panel/scoreboard.qc
b/qcsrc/client/hud/panel/scoreboard.qc
index 859e9fae499eb81338111ce27c46486b39833276..89e7742561efd0dc93f46b43bae1d1392446896b 100644
(file)
--- 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);