Fixed review remarks.
authorArmin Novak <armin.novak@thincast.com>
Mon, 4 Nov 2019 10:18:53 +0000 (11:18 +0100)
committerArmin Novak <armin.novak@thincast.com>
Mon, 4 Nov 2019 10:18:53 +0000 (11:18 +0100)
client/Windows/wf_client.c

index 93af8ea..f4208ac 100644 (file)
@@ -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;