Trunk fmt

This commit is contained in:
Ben Meadors 2023-02-20 10:05:11 -06:00 committed by Thomas Göttgens
parent ce882b389a
commit 548bec026a

View File

@ -240,9 +240,12 @@ class Screen : public concurrency::OSThread
// library have empty chars for non-latin ASCII symbols // library have empty chars for non-latin ASCII symbols
case 0xD0: { case 0xD0: {
SKIPREST = false; SKIPREST = false;
if (ch == 132) return (uint8_t)(170); // Є if (ch == 132)
if (ch == 134) return (uint8_t)(178); // І return (uint8_t)(170); // Є
if (ch == 135) return (uint8_t)(175); // Ї if (ch == 134)
return (uint8_t)(178); // І
if (ch == 135)
return (uint8_t)(175); // Ї
if (ch == 129) if (ch == 129)
return (uint8_t)(168); // Ё return (uint8_t)(168); // Ё
if (ch > 143 && ch < 192) if (ch > 143 && ch < 192)
@ -251,9 +254,12 @@ class Screen : public concurrency::OSThread
} }
case 0xD1: { case 0xD1: {
SKIPREST = false; SKIPREST = false;
if (ch == 148) return (uint8_t)(186); // є if (ch == 148)
if (ch == 150) return (uint8_t)(179); // і return (uint8_t)(186); // є
if (ch == 151) return (uint8_t)(191); // ї if (ch == 150)
return (uint8_t)(179); // і
if (ch == 151)
return (uint8_t)(191); // ї
if (ch == 145) if (ch == 145)
return (uint8_t)(184); // ё return (uint8_t)(184); // ё
if (ch > 127 && ch < 144) if (ch > 127 && ch < 144)
@ -262,8 +268,10 @@ class Screen : public concurrency::OSThread
} }
case 0xD2: { case 0xD2: {
SKIPREST = false; SKIPREST = false;
if (ch == 144) return (uint8_t)(165); // Ґ if (ch == 144)
if (ch == 145) return (uint8_t)(180); // ґ return (uint8_t)(165); // Ґ
if (ch == 145)
return (uint8_t)(180); // ґ
break; break;
} }
} }