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:
parent
f8ad64e11a
commit
b3c08e51a2
@ -487,7 +487,7 @@ public:
|
||||
#ifdef _WIN32
|
||||
mNormalFont->GetAveCharWidth(mAveCharWidth);
|
||||
#else
|
||||
mAveCharWidth = 0;
|
||||
mAveCharWidth = 10;
|
||||
#endif
|
||||
mLastFont = mNormalFont;
|
||||
|
||||
|
||||
@ -487,7 +487,7 @@ public:
|
||||
#ifdef _WIN32
|
||||
mNormalFont->GetAveCharWidth(mAveCharWidth);
|
||||
#else
|
||||
mAveCharWidth = 0;
|
||||
mAveCharWidth = 10;
|
||||
#endif
|
||||
mLastFont = mNormalFont;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user