• Petrichor Park's avatar
    notepad: Use GetDpiForWindow(). · 100504d2
    Petrichor Park authored
    Instead of querying the registry, just calls `GetDpiForWindow`.
    
    Winecfg's DPI slider sets `Control Panel\\Desktop\\LogPixels`.
    See `programs/winecfg/x11drvdlg.c`
    Notepad queries `Software\\Fonts\\LogPixels`, and so doesn't pick up
    on the change.
    100504d2
dialog.c 40.1 KB