Get rid of non-ascii characters in the debug display code (#8821)
authorJozef Behran <jozuejozef@gmail.com>
Wed, 6 May 2020 19:35:18 +0000 (21:35 +0200)
committerGitHub <noreply@github.com>
Wed, 6 May 2020 19:35:18 +0000 (21:35 +0200)
src/client/gameui.cpp

index 138dfb4dae2e720cdef0d4469ffddb5c22e46c89..bbe7caeb1a0c911408a0a976d86d32fe0e83c58f 100644 (file)
@@ -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) {