Fix swedish

This commit is contained in:
3djc
2019-09-12 11:22:52 +02:00
parent 1b8e86a26c
commit 635e1e1f3c
2 changed files with 2 additions and 7 deletions
+1 -5
View File
@@ -52,7 +52,7 @@ uint8_t getMappedChar(uint8_t c)
else if (c >= 0x80 && c <= 0x81) {
result = 157 + c - 0x80;
}
#elif defined(TRANSLATIONS_FI)
#elif defined(TRANSLATIONS_FI) || defined(TRANSLATIONS_SE)
else if (c >= 0x80 && c <= 0x85) {
result = 159 + c - 0x80;
}
@@ -68,10 +68,6 @@ uint8_t getMappedChar(uint8_t c)
else if (c >= 0x80 && c <= 0x80+21) {
result = 185 + c - 0x80;
}
#elif defined(TRANSLATIONS_SE)
else if (c >= 0x80 && c <= 0x85) {
result = 207 + c - 0x80;
}
#endif
else if (c < 0xC0)
result = c - 0x20;