having font refs start at 1 stops seems to stop crashes from happening in the 5th mix theme.
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ int Font::GetLineHeightInSourcePixels( const wstring &szLine ) const
|
||||
|
||||
Font::Font()
|
||||
{
|
||||
m_iRefCount = 0;
|
||||
m_iRefCount = 1;
|
||||
m_pDefault = NULL;
|
||||
m_bRightToLeft = false;
|
||||
// [sm-ssc] don't show strokes by default
|
||||
|
||||
Reference in New Issue
Block a user