Don't start wminput if not available.

This commit is contained in:
sorgelig
2019-05-09 23:05:38 +08:00
parent 798c996c6e
commit 87978756c2

View File

@@ -810,9 +810,9 @@ void HandleUI(void)
break;
case KEY_F10:
if (user_io_osd_is_visible())
if (user_io_osd_is_visible() && !access("/bin/wminput", F_OK))
{
//menustate = MENU_WMPAIR;
menustate = MENU_WMPAIR;
}
break;