Fixed #7200: /bpp parsing fixed

This commit is contained in:
Armin Novak 2021-07-29 18:24:13 +02:00 committed by akallabeth
parent 6854c7da7e
commit 0fc21f51f5

View File

@ -1913,7 +1913,7 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
if (!value_to_int(arg->Value, &val, 0, UINT32_MAX))
return COMMAND_LINE_ERROR_UNEXPECTED_VALUE;
switch (settings->ColorDepth)
switch (val)
{
case 32:
case 24: