From 13ea3979bbc1acc5167666413b0818998d2c4283 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Wed, 26 Nov 2008 15:22:15 +0000 Subject: [PATCH] Small fix of function 36. git-svn-id: svn://kolibrios.org@939 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index beda679331..7bacd88616 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -5112,6 +5112,8 @@ syscall_getarea: shr eax,16 mov ebx,edx and ebx,0xffff + dec eax + dec ebx ; eax - x, ebx - y mov edx,ecx