From d2bdb45239c765a5a8d21f8de9427735880bd89f Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sat, 8 Jan 2011 03:12:52 -0600 Subject: [PATCH] having font refs start at 1 stops seems to stop crashes from happening in the 5th mix theme. --- src/Font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Font.cpp b/src/Font.cpp index 3d58287ada..ec00195979 100644 --- a/src/Font.cpp +++ b/src/Font.cpp @@ -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