# HG changeset patch # User ib # Date 1304438120 0 # Node ID f9d3084f2e9591b57c5e4ff1b394d0afbec0c8ec # Parent 49ca38147d1f4ff11ec08051e336df120e49adeb Use designators for structure initialization. diff -r 49ca38147d1f -r f9d3084f2e95 gui/app.c --- a/gui/app.c Tue May 03 14:34:40 2011 +0000 +++ b/gui/app.c Tue May 03 15:55:20 2011 +0000 @@ -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[] = {