X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3417f6618c41a6b8a7adc29ad5a12ca8c0dad248..ae0d8c14454193a9cb8e95ea28206014ac5aa611:/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