Re: Perform automatic bitmap font configuration. Take 4
13 Sep
2005
13 Sep
'05
1:42 p.m.
Dmitry Timoshkov <dmitry(a)baikal.ru> writes:
@@ -313,10 +312,7 @@ void LOCALE_InitRegistry(void) } else TRACE( "updating registry, locale changed none -> %08lx\n", lcid );
- sprintf( buffer, "%08lx", lcid ); - /* Note: '9' constant below is strlen(buffer) + 1 */ - RtlMultiByteToUnicodeN( bufferW, sizeof(bufferW), NULL, buffer, 9 ); - NtSetValueKey( hkey, &nameW, 0, REG_SZ, bufferW, 9 * sizeof(WCHAR) ); + /* GDI32 detects locale change as well, it will update the registry */
You can't depend on GDI updating the kernel's key, they need to be independent. -- Alexandre Julliard julliard(a)winehq.org
7398
Age (days ago)
7398
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard