diff --git a/kernel/trunk/gui/font.inc b/kernel/trunk/gui/font.inc index 6df5305041..0240bd8344 100644 --- a/kernel/trunk/gui/font.inc +++ b/kernel/trunk/gui/font.inc @@ -106,8 +106,10 @@ dtext: jc @f bt ebx, 28 jc .draw866toUni - lea eax, [eax*4+eax] - shr eax, 2 + shl eax, 3 + mov bx, 6 + div bx + xor edx, edx inc eax mov [esp], ecx cmp eax, ecx