From 25946914bc011c7ac5be29076f668edae8136453 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 3 Jun 2020 22:23:46 +0000 Subject: [PATCH] fix prior git-svn-id: svn://kolibrios.org@8021 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/menu/menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/cmm/menu/menu.c b/programs/cmm/menu/menu.c index 95c348e794..9fbd4690db 100644 --- a/programs/cmm/menu/menu.c +++ b/programs/cmm/menu/menu.c @@ -27,9 +27,9 @@ void GetWindowPosition() win_x = ESDWORD[shared_mem + 4]; win_y = ESDWORD[shared_mem + 8]; position = ESDWORD[shared_mem + 12]; - if (position == MENU_ALIGN_TOP_RIGHT) win_x -= menu1.w; - if (position == MENU_ALIGN_BOT_LEFT) win_y -= menu1.h; - if (position == MENU_ALIGN_BOT_RIGHT) { + if (position == MENU_TOP_RIGHT) win_x -= menu1.w; + if (position == MENU_BOT_LEFT) win_y -= menu1.h; + if (position == MENU_BOT_RIGHT) { win_x -= menu1.w; win_y -= menu1.h; }