mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-02 23:50:50 +00:00
fix things
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@490 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -23,10 +23,10 @@ static void draw(MwWidget handle) {
|
||||
fr.height = MwGetInteger(handle, MwNheight);
|
||||
MwDrawFrame(handle, &fr, base, inverted);
|
||||
|
||||
rr.x = MwDefaultBorderWidth;
|
||||
rr.y = MwDefaultBorderWidth;
|
||||
rr.width = MwGetInteger(handle, MwNwidth) - (MwDefaultBorderWidth * 2);
|
||||
rr.height = MwGetInteger(handle, MwNheight) - (MwDefaultBorderWidth * 2);
|
||||
rr.x = MwGetDefaultBorderWidth(handle);
|
||||
rr.y = MwGetDefaultBorderWidth(handle);
|
||||
rr.width = MwGetInteger(handle, MwNwidth) - (MwGetDefaultBorderWidth(handle) * 2);
|
||||
rr.height = MwGetInteger(handle, MwNheight) - (MwGetDefaultBorderWidth(handle) * 2);
|
||||
} else {
|
||||
|
||||
rr.x = 0;
|
||||
|
||||
Reference in New Issue
Block a user