From f8aa7603edd18d81fa85fea704938812138490d3 Mon Sep 17 00:00:00 2001 From: GLS-SSV Date: Mon, 23 Dec 2024 01:14:57 +0000 Subject: [PATCH] fix for bad degree char in DrawOrbits --- OVP/D3D9Client/samples/DrawOrbits/Tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OVP/D3D9Client/samples/DrawOrbits/Tools.cpp b/OVP/D3D9Client/samples/DrawOrbits/Tools.cpp index b5e9d21d6..3f2ac71ba 100644 --- a/OVP/D3D9Client/samples/DrawOrbits/Tools.cpp +++ b/OVP/D3D9Client/samples/DrawOrbits/Tools.cpp @@ -89,7 +89,7 @@ const char *AngleToText(double deg, int digits) if (f >= 360.0) f = 0.0; if (deg<0) f = -f; - sprintf_s(ValueToText_Str, 30, "%1.*f°", digits, f); + sprintf_s(ValueToText_Str, 30, "%1.*f\xB0", digits, f); return ValueToText_Str; }