Fix for divide by zero I accidently introduced

git-svn-id: svn://10.0.0.236/trunk@64700 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com 2000-03-31 05:40:35 +00:00
parent f8ad64e11a
commit b3c08e51a2
2 changed files with 2 additions and 2 deletions

View File

@ -487,7 +487,7 @@ public:
#ifdef _WIN32
mNormalFont->GetAveCharWidth(mAveCharWidth);
#else
mAveCharWidth = 0;
mAveCharWidth = 10;
#endif
mLastFont = mNormalFont;

View File

@ -487,7 +487,7 @@ public:
#ifdef _WIN32
mNormalFont->GetAveCharWidth(mAveCharWidth);
#else
mAveCharWidth = 0;
mAveCharWidth = 10;
#endif
mLastFont = mNormalFont;