Skip to content
Snippets Groups Projects
Commit 7d2c3fa4 authored by deuce's avatar deuce
Browse files

Fix WIN_L2R

parent c1a2ccc1
No related branches found
No related tags found
No related merge requests found
......@@ -403,9 +403,9 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar
}
}
if(mode&WIN_L2R)
left=(s_right-s_left)/2-(width/2)+(api->scrn_width-s_right);
left=(s_right-s_left+1)/2-(width/2)+(s_left);
else if(mode&WIN_RHT)
left=s_right-width;
left=api->scrn_width-(width+4+left);
if(mode&WIN_T2B)
top=(api->scrn_len/2)-(height/2)-2;
else if(mode&WIN_BOT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment