Commit 084bf06f authored by Matt 'Murph' Finnicum's avatar Matt 'Murph' Finnicum Committed by Alexandre Julliard

imm32: Set size of OSVERSIONINFOA before calling GetVersionExA.

parent aaf4ce8a
......@@ -1769,6 +1769,7 @@ UINT WINAPI ImmGetVirtualKey(HWND hWnd)
if ( data )
return data->lastVK;
version.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA);
GetVersionExA( &version );
switch(version.dwPlatformId)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment