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