aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJozef Behran <jozuejozef@gmail.com>2020-05-06 21:35:18 +0200
committerGitHub <noreply@github.com>2020-05-06 21:35:18 +0200
commit4f9ccd89b347dad3db5ce63d3405a8d60c163af5 (patch)
tree1fc5601254e8a5d88319235acbb0430796603823
parent664800b2adda44039a85c3566b4ed958abff8b95 (diff)
downloadminetest-4f9ccd89b347dad3db5ce63d3405a8d60c163af5.tar.gz
minetest-4f9ccd89b347dad3db5ce63d3405a8d60c163af5.tar.bz2
minetest-4f9ccd89b347dad3db5ce63d3405a8d60c163af5.zip
Get rid of non-ascii characters in the debug display code (#8821)
-rw-r--r--src/client/gameui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/gameui.cpp b/src/client/gameui.cpp
index 138dfb4da..bbe7caeb1 100644
--- a/src/client/gameui.cpp
+++ b/src/client/gameui.cpp
@@ -128,9 +128,9 @@ void GameUI::update(const RunStats &stats, Client *client, MapDrawControl *draw_
<< "pos: (" << (player_position.X / BS)
<< ", " << (player_position.Y / BS)
<< ", " << (player_position.Z / BS)
- << ") | yaw: " << (wrapDegrees_0_360(cam.camera_yaw)) << "° "
+ << ") | yaw: " << (wrapDegrees_0_360(cam.camera_yaw)) << "\xC2\xB0 "
<< yawToDirectionString(cam.camera_yaw)
- << " | pitch: " << (-wrapDegrees_180(cam.camera_pitch)) << "°"
+ << " | pitch: " << (-wrapDegrees_180(cam.camera_pitch)) << "\xC2\xB0"
<< " | seed: " << ((u64)client->getMapSeed());
if (pointed_old.type == POINTEDTHING_NODE) {