forked from KolibriOS/kolibrios
fix prior
git-svn-id: svn://kolibrios.org@8021 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
c9389437b7
commit
25946914bc
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user