X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3417f6618c41a6b8a7adc29ad5a12ca8c0dad248..4aaef122cbbd5bbe0e70b824e320458e2329dd13:/src/os2/fontutil.cpp?ds=sidebyside diff --git a/src/os2/fontutil.cpp b/src/os2/fontutil.cpp index 7fb1ff865c..fe12e11839 100644 --- a/src/os2/fontutil.cpp +++ b/src/os2/fontutil.cpp @@ -332,9 +332,9 @@ void wxFillLogFont( ,&vInfo )) { - if ( !wxTheFontMapper->GetAltForEncoding( vEncoding - ,&vInfo - )) +#if wxUSE_FONTMAP + if (!wxTheFontMapper->GetAltForEncoding(vEncoding, &vInfo)) +#endif // wxUSE_FONTMAP { // // Unsupported encoding, replace with the default