changeset 33765:c29fc64a28c4

Cosmetic: Rename mplayer() parameter. Change it from 'cmd' to 'what'.
author ib
date Fri, 08 Jul 2011 21:11:51 +0000
parents 498e3d5f223b
children 515a3b5f291e
files gui/interface.c gui/interface.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Fri Jul 08 21:08:19 2011 +0000
+++ b/gui/interface.c	Fri Jul 08 21:11:51 2011 +0000
@@ -933,11 +933,11 @@
 
 /* GUI -> MPlayer */
 
-void mplayer(int cmd, float fparam, void *vparam)
+void mplayer(int what, float fparam, void *vparam)
 {
     equalizer_t *eq = (equalizer_t *)vparam;
 
-    switch (cmd) {
+    switch (what) {
         // subtitle
 
 #ifndef CONFIG_FREETYPE
--- a/gui/interface.h	Fri Jul 08 21:08:19 2011 +0000
+++ b/gui/interface.h	Fri Jul 08 21:11:51 2011 +0000
@@ -184,7 +184,7 @@
 
 /* GUI -> MPlayer */
 
-void mplayer(int cmd, float fparam, void *vparam);
+void mplayer(int what, float fparam, void *vparam);
 void mplayerLoadFont(void);
 void mplayerLoadSubtitle(char *name);
 void gmp_msg(int mod, int lev, const char *format, ...);