[vlc-commits] commit: HTTP interface: fix ! operator (fix #3768) ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Wed Jun 23 06:58:21 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun 23 07:56:07 2010 +0300| [15745ba514210fdbb557124dcde5d398e41a03ce] | committer: Rémi Denis-Courmont
HTTP interface: fix ! operator (fix #3768)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=15745ba514210fdbb557124dcde5d398e41a03ce
---
modules/control/http/rpn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/control/http/rpn.c b/modules/control/http/rpn.c
index 7d31622..320a4ff 100644
--- a/modules/control/http/rpn.c
+++ b/modules/control/http/rpn.c
@@ -164,7 +164,7 @@ void EvaluateRPN( intf_thread_t *p_intf, mvar_t *vars,
/* 1. Integer function */
if( !strcmp( s, "!" ) )
{
- SSPushN( st, ~SSPopN( st, vars ) );
+ SSPushN( st, !SSPopN( st, vars ) );
}
else if( !strcmp( s, "^" ) )
{
More information about the vlc-commits
mailing list