X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15d5a9470be940a5bac66181a9e4c27d47d56558..8c2f37978674e79f0ffd8b41c46d6c698f90ccce:/src/unix/fontutil.cpp diff --git a/src/unix/fontutil.cpp b/src/unix/fontutil.cpp index c4879e8930..e161707732 100644 --- a/src/unix/fontutil.cpp +++ b/src/unix/fontutil.cpp @@ -841,7 +841,7 @@ static wxNativeFont wxLoadQueryFont(int pointSize, // if pointSize is -1, don't specify any wxString sizeSpec; - if ( fontSpec == -1 ) + if ( pointSize == -1 ) { sizeSpec = _T('*'); }