Use the appropriate Unicode char for °C (Celsius) (#14849)

This commit is contained in:
Alexandre Folle de Menezes
2026-07-20 09:46:29 -03:00
committed by GitHub
parent 48d5f6c1e3
commit 73f6bca9fe
3 changed files with 9 additions and 9 deletions

View File

@@ -7917,7 +7917,7 @@ bool Tab::validate_filament_temperature_pairs()
if (delta <= rule.max_delta)
continue;
const wxString deg_c = wxString::FromUTF8("");
const wxString deg_c = wxString::FromUTF8(u8"\u2103" /* °C */);
const wxString bullet = wxString::FromUTF8("");
invalid_pairs += wxString::Format(_L(" - %s:\n %s first layer %d %s, other layers %d %s\n %s max delta %d %s, current delta %d %s\n"),
rule.label, bullet, first_temp, deg_c, other_temp, deg_c, bullet, rule.max_delta, deg_c, delta, deg_c);