Fix command stdin - courtesy of Cthulhu

This commit is contained in:
twinaphex 2021-10-19 22:23:07 +02:00
parent 1e1919b236
commit 1dc77507a8

View File

@ -3088,7 +3088,7 @@ void input_driver_init_command(
else
{
input_st->command[0] = command_stdin_new();
if (!input_st->command[1])
if (!input_st->command[0])
RARCH_ERR("Failed to initialize the stdin command interface.\n");
}
}