[vlc-commits] oldrc: small simplification
Pierre Ynard
git at videolan.org
Wed Feb 2 02:47:07 CET 2011
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Feb 2 02:46:53 2011 +0100| [2584b8c17c0853134c48a0aaafb16cc5b4cf923f] | committer: Pierre Ynard
oldrc: small simplification
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2584b8c17c0853134c48a0aaafb16cc5b4cf923f
---
modules/control/rc.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/modules/control/rc.c b/modules/control/rc.c
index 9957597..0580a5d 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -330,10 +330,11 @@ static int Activate( vlc_object_t *p_this )
#ifdef WIN32
p_intf->p_sys->b_quiet = var_InheritBool( p_intf, "rc-quiet" );
- if( !p_intf->p_sys->b_quiet ) { CONSOLE_INTRO_MSG; }
-#else
- CONSOLE_INTRO_MSG;
+ if( !p_intf->p_sys->b_quiet )
#endif
+ {
+ CONSOLE_INTRO_MSG;
+ }
msg_rc( "%s", _("Remote control interface initialized. Type `help' for help.") );
return VLC_SUCCESS;
More information about the vlc-commits
mailing list