From: Jozef Behran Date: Wed, 6 May 2020 19:35:18 +0000 (+0200) Subject: Get rid of non-ascii characters in the debug display code (#8821) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f9ccd89b347dad3db5ce63d3405a8d60c163af5;p=oweals%2Fminetest.git Get rid of non-ascii characters in the debug display code (#8821) --- 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) {