From galtgendo at o2.pl Sat Mar 24 15:49:31 2018 From: galtgendo at o2.pl (=?utf-8?B?UmFmYcWCIE11xbx5xYJv?=) Date: Sat, 24 Mar 2018 21:49:31 +0100 Subject: user32: fix stale sysfont values upon locale switch Message-ID: <20180324204931.GA3437@blackspire2> If a prefix is created in one locale, then a program is run in it in a different locale, most locale-dependent font settings are already reset, yet there are a few values that aren't, namely those stored in 'HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics' *Font keys. This might mess up different things, as one of the fields stores charset, which is a base for certain MultiByteToWideChar conversions. This is the cleanest solution I could come up with. Signed-off-by: Rafał Mużyło -------------- next part -------------- A non-text attachment was scrubbed... Name: wine-3.4-theme-font-fix.patch Type: text/x-diff Size: 404 bytes Desc: not available URL: