Set value to 1.0F as a float

git-svn-id: svn://10.0.0.236/trunk@2553 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp 1998-05-28 19:55:15 +00:00
parent 760038f9f4
commit afcc812131
3 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ void StyleColorImpl::ResetFrom(const nsStyleColor* aParent, nsIPresContext* aPre
}
else {
mColor = NS_RGB(0, 0, 0);
mOpacity.SetPercentValue(1.0F);
mOpacity = 1.0F;
}
mBackgroundAttachment = NS_STYLE_BG_ATTACHMENT_SCROLL;

View File

@ -89,7 +89,7 @@ void StyleColorImpl::ResetFrom(const nsStyleColor* aParent, nsIPresContext* aPre
}
else {
mColor = NS_RGB(0, 0, 0);
mOpacity.SetPercentValue(1.0F);
mOpacity = 1.0F;
}
mBackgroundAttachment = NS_STYLE_BG_ATTACHMENT_SCROLL;

View File

@ -89,7 +89,7 @@ void StyleColorImpl::ResetFrom(const nsStyleColor* aParent, nsIPresContext* aPre
}
else {
mColor = NS_RGB(0, 0, 0);
mOpacity.SetPercentValue(1.0F);
mOpacity = 1.0F;
}
mBackgroundAttachment = NS_STYLE_BG_ATTACHMENT_SCROLL;