mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fix a pence post error in painting of dotted border collapse borders r/sr=roc bug 126540
This commit is contained in:
parent
bc1cac07b0
commit
bb7273a63c
@ -2118,7 +2118,7 @@ GetDashInfo(nscoord aBorderLength,
|
||||
aEndDashLength = 0;
|
||||
}
|
||||
else {
|
||||
aNumDashSpaces = aBorderLength / (2 * aDashLength); // round down
|
||||
aNumDashSpaces = (aBorderLength - aDashLength)/ (2 * aDashLength); // round down
|
||||
nscoord extra = aBorderLength - aStartDashLength - aEndDashLength - (((2 * aNumDashSpaces) - 1) * aDashLength);
|
||||
if (extra > 0) {
|
||||
nscoord half = RoundIntToPixel(extra / 2, aTwipsPerPixel);
|
||||
|
Loading…
Reference in New Issue
Block a user