Fixed review remarks.

This commit is contained in:
Armin Novak 2019-11-04 11:18:53 +01:00
parent 53ee0fbc33
commit a5403448b6

View File

@ -582,7 +582,7 @@ fail:
* a certificate only for this session, 0 otherwise */ * a certificate only for this session, 0 otherwise */
switch(what) switch(what)
{ {
case IDOK: case IDYES:
return 1; return 1;
case IDNO: case IDNO:
return 2; return 2;
@ -641,7 +641,7 @@ fail:
* a certificate only for this session, 0 otherwise */ * a certificate only for this session, 0 otherwise */
switch(what) switch(what)
{ {
case IDOK: case IDYES:
return 1; return 1;
case IDNO: case IDNO:
return 2; return 2;
@ -1030,8 +1030,7 @@ static BOOL wfreerdp_client_new(freerdp* instance, rdpContext* context)
// AttachConsole and stdin do not work well. // AttachConsole and stdin do not work well.
// Use GUI input dialogs instead of command line ones. // Use GUI input dialogs instead of command line ones.
//wfc->isConsole = wf_create_console(); wfc->isConsole = wf_create_console();
wf_create_console();
if (!(wfreerdp_client_global_init())) if (!(wfreerdp_client_global_init()))
return FALSE; return FALSE;