From a5403448b6ce41b57f27a7235fe83aa513e66d68 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Mon, 4 Nov 2019 11:18:53 +0100 Subject: [PATCH] Fixed review remarks. --- client/Windows/wf_client.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/Windows/wf_client.c b/client/Windows/wf_client.c index 93af8ea..f4208ac 100644 --- a/client/Windows/wf_client.c +++ b/client/Windows/wf_client.c @@ -582,7 +582,7 @@ fail: * a certificate only for this session, 0 otherwise */ switch(what) { - case IDOK: + case IDYES: return 1; case IDNO: return 2; @@ -641,7 +641,7 @@ fail: * a certificate only for this session, 0 otherwise */ switch(what) { - case IDOK: + case IDYES: return 1; case IDNO: return 2; @@ -1030,8 +1030,7 @@ static BOOL wfreerdp_client_new(freerdp* instance, rdpContext* context) // AttachConsole and stdin do not work well. // Use GUI input dialogs instead of command line ones. - //wfc->isConsole = wf_create_console(); - wf_create_console(); + wfc->isConsole = wf_create_console(); if (!(wfreerdp_client_global_init())) return FALSE; -- 2.7.4