[MPlayer-cvslog] r37722 - in trunk/gui: dialog/fileselect.c interface.c util/list.c util/list.h

ib subversion at mplayerhq.hu
Sun Feb 14 08:17:20 CET 2016


Author: ib
Date: Sun Feb 14 08:17:20 2016
New Revision: 37722

Log:
Cosmetic: Format to MPlayer coding style.

Modified:
   trunk/gui/dialog/fileselect.c
   trunk/gui/interface.c
   trunk/gui/util/list.c
   trunk/gui/util/list.h

Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c	Sun Feb 14 08:16:32 2016	(r37721)
+++ trunk/gui/dialog/fileselect.c	Sun Feb 14 08:17:20 2016	(r37722)
@@ -63,7 +63,7 @@ int fsType;
 
 static gint fsCurrFNameListSelected, fsLastFNameListSelected;
 
-char *const fsVideoAudioFilterNames[][2] = {
+char * const fsVideoAudioFilterNames[][2] = {
     { MSGTR_GUI_FilterVideoAvi,           "*.avi"                                                                                                                                                                                                                                                                                                                                                                                                                  },
     { MSGTR_GUI_FilterVideoDivX,          "*.divx"                                                                                                                                                                                                                                                                                                                                                                                                                 },
     { MSGTR_GUI_FilterVideoFlash,         "*.flv"                                                                                                                                                                                                                                                                                                                                                                                                                  },
@@ -86,7 +86,7 @@ char *const fsVideoAudioFilterNames[][2]
 };
 int fsLastVideoAudioFilterSelected = -1;
 
-char *const fsSubtitleFilterNames[][2] = {
+char * const fsSubtitleFilterNames[][2] = {
     { "AQTitle (*.aqt)",                   "*.aqt"                                                      },
     { "Advanced SubStation Alpha (*.ass)", "*.ass"                                                      },
     { "JACOSub (*.jss) ",                  "*.jss"                                                      },
@@ -103,7 +103,7 @@ char *const fsSubtitleFilterNames[][2] =
 };
 int fsLastSubtitleFilterSelected = -1;
 
-char *const fsAudioFileNames[][2] = {
+char * const fsAudioFileNames[][2] = {
     { MSGTR_GUI_FilterAudioDolbyPCM, "*.ac3,*.pcm"                                                                          },
     { MSGTR_GUI_FilterAudioMPEG,     "*.aac,*.f4a,*.m4a,*.mp2,*.mp3,*.mpga"                                                 },
     { MSGTR_GUI_FilterAudioMatroska, "*.mka"                                                                                },
@@ -116,7 +116,7 @@ char *const fsAudioFileNames[][2] = {
 };
 int fsLastAudioFilterSelected = -1;
 
-char *const fsFontFileNames[][2] = {
+char * const fsFontFileNames[][2] = {
 #ifdef CONFIG_FREETYPE
     { MSGTR_GUI_FilterFontTTF,    "*.ttf"       },
     { MSGTR_GUI_FilterFontType1,  "*.pfb"       },
@@ -129,7 +129,7 @@ char *const fsFontFileNames[][2] = {
 };
 int fsLastFontFilterSelected = -1;
 
-char *const fsImageFilterNames[][2] = {
+char * const fsImageFilterNames[][2] = {
 #ifdef CONFIG_LIBCDIO
     { MSGTR_GUI_FilterImageCD,  "*.cue"       },
     { MSGTR_GUI_FilterImageVCD, "*.cue"       },

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Sun Feb 14 08:16:32 2016	(r37721)
+++ trunk/gui/interface.c	Sun Feb 14 08:17:20 2016	(r37722)
@@ -98,7 +98,7 @@ static void set_fontconfig(void)
  * @param vf video filter to be added or changed
  * @param argvf pointer to an array of (new) parameter/value pairs
  */
-static void add_vf(const char *vf, const char *const *argvf)
+static void add_vf(const char *vf, const char * const *argvf)
 {
     if (vf_settings) {
         int i = 0;

Modified: trunk/gui/util/list.c
==============================================================================
--- trunk/gui/util/list.c	Sun Feb 14 08:16:32 2016	(r37721)
+++ trunk/gui/util/list.c	Sun Feb 14 08:17:20 2016	(r37722)
@@ -360,7 +360,7 @@ void listRepl(char ***list, const char *
  *
  * @return duplicated list
  */
-char **listDup(const char *const *list)
+char **listDup(const char * const *list)
 {
     char **dup = NULL;
 

Modified: trunk/gui/util/list.h
==============================================================================
--- trunk/gui/util/list.h	Sun Feb 14 08:16:32 2016	(r37721)
+++ trunk/gui/util/list.h	Sun Feb 14 08:17:20 2016	(r37722)
@@ -57,7 +57,7 @@ void *listMgr(int cmd, void *data);
 
 /// @name String list operations
 //@{
-char **listDup(const char *const *list);
+char **listDup(const char * const *list);
 void listFree(char ***list);
 void listRepl(char ***list, const char *search, const char *replace);
 void listSet(char ***list, const char *entry);


More information about the MPlayer-cvslog mailing list