mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Derp fix
This commit is contained in:
parent
490b536bf2
commit
0f70de49d0
@ -34,7 +34,7 @@ bool Font::isNumber(char16_t c) {
|
|||||||
char16_t Font::arabicForm(char16_t current, char16_t prev, char16_t next) {
|
char16_t Font::arabicForm(char16_t current, char16_t prev, char16_t next) {
|
||||||
if(isArabic(current)) {
|
if(isArabic(current)) {
|
||||||
// If previous should be connected to
|
// If previous should be connected to
|
||||||
if((prev >= 0x626 && prev <= 0x62E && prev != 0x627 && prev != 0x629) || (prev >= 0x633 && prev <= 0x64A && prev != 0x647)) {
|
if((prev >= 0x626 && prev <= 0x62E && prev != 0x627 && prev != 0x629) || (prev >= 0x633 && prev <= 0x64A && prev != 0x648)) {
|
||||||
if(isArabic(next)) // If next is arabic, medial
|
if(isArabic(next)) // If next is arabic, medial
|
||||||
return arabicPresentationForms[current - 0x622][1];
|
return arabicPresentationForms[current - 0x622][1];
|
||||||
else // If not, final
|
else // If not, final
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user