Fix indentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6603071a99
commit
b12401e0d5
@ -875,7 +875,7 @@ wxNativeFont wxLoadQueryNearestFont(int pointSize,
|
||||
{
|
||||
// second round: use normal weight
|
||||
if ( round == 1 )
|
||||
{
|
||||
{
|
||||
if ( testweight != wxNORMAL )
|
||||
{
|
||||
testweight = wxNORMAL;
|
||||
@ -904,11 +904,11 @@ wxNativeFont wxLoadQueryNearestFont(int pointSize,
|
||||
font = wxLoadQueryFont(i, family, teststyle, testweight, underlined,
|
||||
facename, info.xregistry, info.xencoding,
|
||||
xFontName);
|
||||
}
|
||||
}
|
||||
|
||||
// Search for larger size (approx.)
|
||||
for ( i = pointSize + 10; !font && i <= max_size; i += 10 )
|
||||
{
|
||||
// Search for larger size (approx.)
|
||||
for ( i = pointSize + 10; !font && i <= max_size; i += 10 )
|
||||
{
|
||||
font = wxLoadQueryFont(i, family, teststyle, testweight, underlined,
|
||||
facename, info.xregistry, info.xencoding,
|
||||
xFontName);
|
||||
|
Loading…
Reference in New Issue
Block a user