From 9b1c982736d6ddb746f9d743a489bad716b8ef74 Mon Sep 17 00:00:00 2001 From: Doczom Date: Mon, 20 May 2024 18:05:20 +0000 Subject: [PATCH] Krn: Fixed definition of local variables in the "create_cursor" function git-svn-id: svn://kolibrios.org@10039 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/video/cursors.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/video/cursors.inc b/kernel/trunk/video/cursors.inc index 019c7a372a..bb772fe4ee 100644 --- a/kernel/trunk/video/cursors.inc +++ b/kernel/trunk/video/cursors.inc @@ -318,9 +318,11 @@ align 4 ; ecx= flags create_cursor: -.src equ esp -.flags equ esp+4 -.hcursor equ esp+8 +virtual at esp +.src dd ? +.flags dd ? +.hcursor dd ? +end virtual sub esp, 4 ;space for .hcursor push ecx