[MPlayer-cvslog] r25524 - trunk/libmenu/vf_menu.c
ulion
subversion at mplayerhq.hu
Tue Dec 25 05:30:16 CET 2007
Author: ulion
Date: Tue Dec 25 05:30:16 2007
New Revision: 25524
Log:
Simplify the condition code.
Modified:
trunk/libmenu/vf_menu.c
Modified: trunk/libmenu/vf_menu.c
==============================================================================
--- trunk/libmenu/vf_menu.c (original)
+++ trunk/libmenu/vf_menu.c Tue Dec 25 05:30:16 2007
@@ -59,7 +59,7 @@ static int cmd_filter(mp_cmd_t* cmd, int
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);
More information about the MPlayer-cvslog
mailing list