gdi32: Don't override FontSubstitutes on a DPI only change.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=36010
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 7763efa347
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
parent
c8d12b4e05
commit
2f06215a8e
|
@ -2485,7 +2485,8 @@ static void update_codepage(void)
|
|||
add_font_list(hkey, &nls_update_font_list[i], screen_dpi);
|
||||
RegCloseKey(hkey);
|
||||
}
|
||||
if (!RegCreateKeyW( HKEY_LOCAL_MACHINE,
|
||||
/* Only update these if the Codepage changed. */
|
||||
if (strcmp( buf, cpbuf ) && !RegCreateKeyW( HKEY_LOCAL_MACHINE,
|
||||
L"Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes", &hkey ))
|
||||
{
|
||||
RegSetValueExA(hkey, "MS Shell Dlg", 0, REG_SZ, (const BYTE *)nls_update_font_list[i].shelldlg,
|
||||
|
|
Loading…
Reference in New Issue