kernel32: Skip the screen buffer tests if codepage 866 is notavailable
Dmitry Timoshkov
dmitry at codeweavers.com
Sun Apr 20 01:10:06 CDT 2008
"James Hawkins" <jhawkins at codeweavers.com> wrote:
> + res = RegOpenKeyA(HKEY_LOCAL_MACHINE,
> + "System\\CurrentControlSet\\Control\\Nls\\CodePage", &hkey);
> + if (res == ERROR_SUCCESS)
> + {
> + len = 20;
> + res = RegQueryValueExA(HKEY_LOCAL_MACHINE, "866", NULL,
> + NULL, (LPBYTE)str_buf, &len);
> + }
Could IsValidCodePage() be used instead?
--
Dmitry.
More information about the wine-devel
mailing list