From 5d55e63e36cee8a861444bec92a43d833252bb6e Mon Sep 17 00:00:00 2001 From: pathoswithin Date: Thu, 18 May 2017 09:15:03 +0000 Subject: [PATCH] small fix git-svn-id: svn://kolibrios.org@6900 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/gui/font.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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