[MPlayer-cvslog] r37706 - trunk/gui/dialog/fileselect.c

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Feb 13 18:33:53 CET 2016


On Sat, Feb 13, 2016 at 06:27:30PM +0100, ib wrote:
> Author: ib
> Date: Sat Feb 13 18:27:30 2016
> New Revision: 37706
> 
> Log:
> Cosmetic: Format to MPlayer coding style.
> 
> Modified:
>    trunk/gui/dialog/fileselect.c
> 
> Modified: trunk/gui/dialog/fileselect.c
> ==============================================================================
> --- trunk/gui/dialog/fileselect.c	Sat Feb 13 18:03:23 2016	(r37705)
> +++ trunk/gui/dialog/fileselect.c	Sat Feb 13 18:27:30 2016	(r37706)
> @@ -63,7 +63,7 @@ int fsType;
>  
>  static gint fsCurrFNameListSelected, fsLastFNameListSelected;
>  
> -char * const fsVideoAudioFilterNames[][2] = {
> +char *const fsVideoAudioFilterNames[][2] = {

I really don't care either way, but I considered the coding style to
have the * direct in front of the variable name (because
that matches the semantics if you declare multiple variables
with comma), but not when it's a const following (because
the * does not apply to the const so to say).
Just to explain why I do write code that way.


More information about the MPlayer-cvslog mailing list