Perform automatic bitmap font configuration. Take 4
Alexandre Julliard
julliard at winehq.org
Tue Sep 13 05:42:20 CDT 2005
Dmitry Timoshkov <dmitry at 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 at winehq.org
More information about the wine-devel
mailing list