From 73b0423d0fd73345b4d2f0152416d12f74c75679 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 14 Mar 2002 21:38:33 +0000 Subject: [PATCH] fix for what the patch 529900 was trying to fix (loading fonts with size -1) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/fontutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('*'); } -- 2.45.2