Mercurial > mplayer.hg
changeset 33270:f9d3084f2e95
Use designators for structure initialization.
author | ib |
---|---|
date | Tue, 03 May 2011 15:55:20 +0000 |
parents | 49ca38147d1f |
children | 490ee81b6181 |
files | gui/app.c |
diffstat | 1 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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[] = {