X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db16cab4610b294c3412f6508754b55ef4a42895..418b74a078f6502deff7ad4a4d562b9cc496774d:/src/unix/fontutil.cpp diff --git a/src/unix/fontutil.cpp b/src/unix/fontutil.cpp index 08a6f769c3..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 @@ -1040,4 +1046,3 @@ void wxFontModule::OnExit() #endif // not GTK 2.0 - \ No newline at end of file