X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3417f6618c41a6b8a7adc29ad5a12ca8c0dad248..0a4f1bbf6d4d97ee0ff2ab5402af585333c9c9bc:/src/os2/fontutil.cpp 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