having font refs start at 1 stops seems to stop crashes from happening in the 5th mix theme.

This commit is contained in:
AJ Kelly
2011-01-08 03:12:52 -06:00
parent f793667191
commit d2bdb45239
+1 -1
View File
@@ -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