[MPlayer-cvslog] r33357 - trunk/gui/app.c

ib subversion at mplayerhq.hu
Tue May 3 17:55:21 CEST 2011


Author: ib
Date: Tue May  3 17:55:20 2011
New Revision: 33357

Log:
Use designators for structure initialization.

Modified:
   trunk/gui/app.c

Modified: trunk/gui/app.c
==============================================================================
--- trunk/gui/app.c	Tue May  3 16:34:40 2011	(r33356)
+++ trunk/gui/app.c	Tue May  3 17:55:20 2011	(r33357)
@@ -24,13 +24,9 @@
 #include "libavutil/common.h"
 
 guiItems appMPlayer = {
-    { 0 }, { 0 }, 0,
-    { 0 }, { 0 },
-    { 0 }, { 0 }, 0,
-    { 0 }, { 0 }, { 0 }, 0,
-    -1,    { 0 },
-    -1,    { 0 },
-    -1,    { 0 }
+    .IndexOfMainItems = -1,
+    .IndexOfBarItems  = -1,
+    .IndexOfMenuItems = -1
 };
 
 static const evName evNames[] = {


More information about the MPlayer-cvslog mailing list