Ignore:
Timestamp:
Jan 2, 2003, 2:04:45 PM (23 years ago)
Author:
sandervl
Message:

SystemParametersInfoA fix for SPI_GETNONCLIENTMETRICS in OS/2 L&F (font height must be negative)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/user32.cpp

    r9008 r9586  
    1 /* $Id: user32.cpp,v 1.124 2002-08-15 15:45:46 sandervl Exp $ */
     1/* $Id: user32.cpp,v 1.125 2003-01-02 13:04:45 sandervl Exp $ */
    22
    33/*
     
    775775                        // driver as the font height. This will take font size settings
    776776                        // such as small, medium and large fonts into account
    777                         lpLogFont->lfHeight = CapsCharHeight;
     777                        //SvL: Must be negative
     778                        lpLogFont->lfHeight = -CapsCharHeight;
    778779                    }
    779780                    else fFound = FALSE;
Note: See TracChangeset for help on using the changeset viewer.