summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Müller <robytemueller@gmail.com>2022-07-25 19:41:14 +0200
committerRobert Müller <robytemueller@gmail.com>2023-06-13 20:08:55 +0200
commit632e132f62cf9c12426c5609f4099a7926faee74 (patch)
tree56b342b0c3aab4d93c60daac0b028786d301c822
parentc21a94ce446304e9b42cae764d2fbb6e94fb605a (diff)
Minor refactoring: use UTF-8 characters directly for readability
-rw-r--r--src/game/client/components/menus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp
index 3fe5fe858..aaf9b3369 100644
--- a/src/game/client/components/menus.cpp
+++ b/src/game/client/components/menus.cpp
@@ -1081,7 +1081,7 @@ void CMenus::RenderMenu(CUIRect Screen)
Button.Draw(Color, 5.0f, CUIRect::CORNER_BL);
// draw non-blending X
- UI()->DoLabel(&Button, "\xE2\x9C\x95", Button.h*CUI::ms_FontmodHeight, TEXTALIGN_CENTER);
+ UI()->DoLabel(&Button, "✕", Button.h*CUI::ms_FontmodHeight, TEXTALIGN_CENTER);
if(UI()->DoButtonLogic(&s_QuitButton, &Button))
m_Popup = POPUP_QUIT;
@@ -1091,7 +1091,7 @@ void CMenus::RenderMenu(CUIRect Screen)
Row.VSplitRight(5.0f, &Row, 0);
Row.VSplitRight(TopOffset, &Row, &Button);
static CButtonContainer s_SettingsButton;
- if(DoButton_MenuTabTop(&s_SettingsButton, "\xE2\x9A\x99", false, &Button, 1.0f, 1.0f, CUIRect::CORNER_B))
+ if(DoButton_MenuTabTop(&s_SettingsButton, "⚙", false, &Button, 1.0f, 1.0f, CUIRect::CORNER_B))
{
m_MenuPageOld = m_MenuPage;
m_MenuPage = PAGE_SETTINGS;