X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a989c8afe4681b3ccadfc8054aff0448a6c7a94..76a5e5d21ee1a6230d777ce0209b2df4c6075f0f:/src/common/fontmap.cpp diff --git a/src/common/fontmap.cpp b/src/common/fontmap.cpp index c93277a60d..f40ea75e95 100644 --- a/src/common/fontmap.cpp +++ b/src/common/fontmap.cpp @@ -810,7 +810,7 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding, wxFontEncodingArray equiv = wxEncodingConverter::GetAllEquivalents(encoding); size_t count = equiv.GetCount(); bool foundEquivEncoding = FALSE; - wxFontEncoding equivEncoding; + wxFontEncoding equivEncoding = wxFONTENCODING_SYSTEM; if ( count ) { for ( size_t i = 0; i < count && !foundEquivEncoding; i++ )