Skip to content

Commit

Permalink
Merge pull request orbitersim#525 from GLS-SSV/draworbits_anglesign
Browse files Browse the repository at this point in the history
DrawOrbits bad degree char
  • Loading branch information
jarmonik authored Dec 27, 2024
2 parents 1240c7e + f8aa760 commit 9dbf0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OVP/D3D9Client/samples/DrawOrbits/Tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9dbf0c3

Please sign in to comment.