зеркало из https://github.com/mozilla/pjs.git
Small error in background rendering that index is 0 instead if i. r=rods. b=23704
This commit is contained in:
Родитель
f6a6c74660
Коммит
6d2eebb5b7
|
@ -2233,7 +2233,7 @@ PRInt16 borderRadii[4],i;
|
|||
|
||||
// rounded version of the border
|
||||
for(i=0;i<4;i++){
|
||||
if (borderRadii[0] > 0){
|
||||
if (borderRadii[i] > 0){
|
||||
PaintRoundedBackground(aPresContext,aRenderingContext,aForFrame,aDirtyRect,aBorderArea,aColor,aSpacing,aDX,aDY,borderRadii);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -2233,7 +2233,7 @@ PRInt16 borderRadii[4],i;
|
|||
|
||||
// rounded version of the border
|
||||
for(i=0;i<4;i++){
|
||||
if (borderRadii[0] > 0){
|
||||
if (borderRadii[i] > 0){
|
||||
PaintRoundedBackground(aPresContext,aRenderingContext,aForFrame,aDirtyRect,aBorderArea,aColor,aSpacing,aDX,aDY,borderRadii);
|
||||
return;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче