Small cleanup for HAVE_COMMAND.

This commit is contained in:
Themaister 2014-01-11 12:16:23 +01:00
parent b74aaa25ce
commit bfd69d1baa

View File

@ -66,8 +66,8 @@ static inline bool input_key_pressed_func(int key)
#endif #endif
#ifdef HAVE_COMMAND #ifdef HAVE_COMMAND
if (!ret && driver.command) if (driver.command)
ret = rarch_cmd_get(driver.command, key); ret = ret || rarch_cmd_get(driver.command, key);
#endif #endif
return ret; return ret;