Commit 2b76f2cd authored by deuce's avatar deuce
Browse files

Fix WIN_L2R centering.

parent 61e2e492
......@@ -403,7 +403,7 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar
}
}
if(mode&WIN_L2R)
left=(api->scrn_width-width+1)/2-s_left;
left=(s_right-s_left-width+1)/2;
else if(mode&WIN_RHT)
left=s_right-(width+left+4);
if(mode&WIN_T2B)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment