fix prior

git-svn-id: svn://kolibrios.org@8021 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2020-06-03 22:23:46 +00:00
parent c9389437b7
commit 25946914bc

View File

@ -27,9 +27,9 @@ void GetWindowPosition()
win_x = ESDWORD[shared_mem + 4]; win_x = ESDWORD[shared_mem + 4];
win_y = ESDWORD[shared_mem + 8]; win_y = ESDWORD[shared_mem + 8];
position = ESDWORD[shared_mem + 12]; position = ESDWORD[shared_mem + 12];
if (position == MENU_ALIGN_TOP_RIGHT) win_x -= menu1.w; if (position == MENU_TOP_RIGHT) win_x -= menu1.w;
if (position == MENU_ALIGN_BOT_LEFT) win_y -= menu1.h; if (position == MENU_BOT_LEFT) win_y -= menu1.h;
if (position == MENU_ALIGN_BOT_RIGHT) { if (position == MENU_BOT_RIGHT) {
win_x -= menu1.w; win_x -= menu1.w;
win_y -= menu1.h; win_y -= menu1.h;
} }