From 8165031eb4bf3392434bd248d312f1dd5b05174f Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Fri, 26 Jun 2015 13:13:32 +0200 Subject: [PATCH] Fixed windows client pre_connect return. --- client/Windows/wf_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Windows/wf_client.c b/client/Windows/wf_client.c index 122d2b004..a2fd6e4fc 100644 --- a/client/Windows/wf_client.c +++ b/client/Windows/wf_client.c @@ -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);