Fixing compiler warning.

git-svn-id: svn://10.0.0.236/branches/XPCDOM_20010329_BRANCH@91678 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com
2001-04-08 04:38:49 +00:00
parent dbfd6323e6
commit 706c0ae094

View File

@@ -827,7 +827,7 @@ nsEventStateManager::ChangeTextSize(PRInt32 change)
float textzoom;
mv->GetTextZoom(&textzoom);
textzoom += 0.1*change;
textzoom += ((float)change) / 10;
if (textzoom > 0 && textzoom <= 20)
mv->SetTextZoom(textzoom);