Merge pull request #2736 from akallabeth/windows_client_fix

Fixed windows client pre_connect return.
This commit is contained in:
Bernhard Miklautz 2015-06-26 14:20:37 +02:00
commit da021fe1a8

View File

@ -322,7 +322,7 @@ BOOL wf_pre_connect(freerdp* instance)
(settings->DesktopWidth > 4096) || (settings->DesktopHeight > 4096))
{
WLog_ERR(TAG, "invalid dimensions %d %d", settings->DesktopWidth, settings->DesktopHeight);
return 1;
return FALSE;
}
freerdp_set_param_uint32(settings, FreeRDP_KeyboardLayout, (int) GetKeyboardLayout(0) & 0x0000FFFF);