]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Revert "Get rid of non-ascii characters in the debug display code (#8821)" (#9828)
authorLars Müller <34514239+appgurueu@users.noreply.github.com>
Wed, 29 Jul 2020 21:17:52 +0000 (23:17 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Jul 2020 21:17:52 +0000 (23:17 +0200)
This reverts commit 4f9ccd89b347dad3db5ce63d3405a8d60c163af5.

src/client/gameui.cpp

index c216f405dc4064d908b9770bdb1b6ff54afaa1ec..81c268e44467544685420629b4329bb247f39f9b 100644 (file)
@@ -133,9 +133,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)) << "\xC2\xB0 "
+                       << ") | yaw: " << (wrapDegrees_0_360(cam.camera_yaw)) << "° "
                        << yawToDirectionString(cam.camera_yaw)
-                       << " | pitch: " << (-wrapDegrees_180(cam.camera_pitch)) << "\xC2\xB0"
+                       << " | pitch: " << (-wrapDegrees_180(cam.camera_pitch)) << "°"
                        << " | seed: " << ((u64)client->getMapSeed());
 
                if (pointed_old.type == POINTEDTHING_NODE) {