X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcd408aa76716cd34e9f26440e326a65a002a2d..e11f2e1645e5322b8f44112733bd663927cf7783:/src/unix/fontutil.cpp diff --git a/src/unix/fontutil.cpp b/src/unix/fontutil.cpp index 0e8aeaddd2..e826a295a2 100644 --- a/src/unix/fontutil.cpp +++ b/src/unix/fontutil.cpp @@ -385,7 +385,13 @@ bool wxNativeFontInfo::FromXFontName(const wxString& fontname) } // this should be all - return !tokenizer.HasMoreTokens(); + if ( tokenizer.HasMoreTokens() ) + return FALSE; + + // we're initialized now + m_isDefault = FALSE; + + return TRUE; } wxString wxNativeFontInfo::GetXFontName() const