Mercurial > mplayer.hg
diff gui/interface.c @ 33614:79743a5cf4f0
Rename the symbolic playback state constants.
They should not be confused with the guiGetEvent types.
Upper case charcaters shall reflect that they are (integer) constants.
Additionally, adjust their casts.
| author | ib |
|---|---|
| date | Wed, 22 Jun 2011 12:12:50 +0000 |
| parents | 6aa251adfba0 |
| children | 1f9a31d4f114 |
line wrap: on
line diff
--- a/gui/interface.c Wed Jun 22 12:09:01 2011 +0000 +++ b/gui/interface.c Wed Jun 22 12:12:50 2011 +0000 @@ -575,17 +575,17 @@ case guiSetState: switch ((int)arg) { - case guiSetPlay: + case GUI_PLAY: guiInfo.Playing = 1; // if ( !gtkShowVideoWindow ) wsVisibleWindow( &guiApp.subWindow,wsHideWindow ); break; - case guiSetStop: + case GUI_STOP: guiInfo.Playing = 0; // if ( !gtkShowVideoWindow ) wsVisibleWindow( &guiApp.subWindow,wsHideWindow ); break; - case guiSetPause: + case GUI_PAUSE: guiInfo.Playing = 2; break; }
