[vlc-devel] commit: Cosmetics ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Feb 13 18:51:35 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 13 18:45:33 2010 +0200| [4ea41ad215c001fc5c60862af6300379d7b76b93] | committer: Rémi Denis-Courmont 

Cosmetics

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4ea41ad215c001fc5c60862af6300379d7b76b93
---

 src/misc/variables.c |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/misc/variables.c b/src/misc/variables.c
index 7f142f8..b5457c4 100644
--- a/src/misc/variables.c
+++ b/src/misc/variables.c
@@ -49,12 +49,21 @@ struct callback_entry_t
 /*****************************************************************************
  * Local comparison functions, returns 0 if v == w, < 0 if v < w, > 0 if v > w
  *****************************************************************************/
-static int CmpBool( vlc_value_t v, vlc_value_t w ) { return v.b_bool ? w.b_bool ? 0 : 1 : w.b_bool ? -1 : 0; }
-static int CmpInt( vlc_value_t v, vlc_value_t w ) { return v.i_int == w.i_int ? 0 : v.i_int > w.i_int ? 1 : -1; }
+static int CmpBool( vlc_value_t v, vlc_value_t w )
+{
+    return v.b_bool ? w.b_bool ? 0 : 1 : w.b_bool ? -1 : 0;
+}
+
+static int CmpInt( vlc_value_t v, vlc_value_t w )
+{
+    return v.i_int == w.i_int ? 0 : v.i_int > w.i_int ? 1 : -1;
+}
+
 static int CmpTime( vlc_value_t v, vlc_value_t w )
 {
     return v.i_time == w.i_time ? 0 : v.i_time > w.i_time ? 1 : -1;
 }
+
 static int CmpString( vlc_value_t v, vlc_value_t w )
 {
     if( !v.psz_string )




More information about the vlc-devel mailing list