Simplify the condition code.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25524 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ulion
2007-12-25 04:30:16 +00:00
parent 951bc25530
commit c8a8ffcf36
+1 -1
View File
@@ -59,7 +59,7 @@ static int cmd_filter(mp_cmd_t* cmd, int paused, struct vf_priv_s * priv) {
case MP_CMD_MENU : { // Convert txt cmd from the users into libmenu stuff
char* arg = cmd->args[0].v.s;
if(!priv->current->show && !(strcmp(arg,"hide") == 0) )
if (!priv->current->show && strcmp(arg,"hide"))
priv->current->show = 1;
else if(strcmp(arg,"up") == 0)
menu_read_cmd(priv->current,MENU_CMD_UP);