Mercurial > mplayer.hg
diff gui/win32/dialogs.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/win32/dialogs.c Wed Jun 22 12:09:01 2011 +0000 +++ b/gui/win32/dialogs.c Wed Jun 22 12:12:50 2011 +0000 @@ -708,7 +708,7 @@ int len = SendMessage(listbox, LB_GETTEXTLEN, index, 0); if (len) { - if (guiInfo.Playing) guiGetEvent(guiSetState, (void *) guiSetStop); + if (guiInfo.Playing) guiGetEvent(guiSetState, (void *) GUI_STOP); free(skinName); skinName = malloc(len + 1); SendMessage(listbox, LB_GETTEXT, (WPARAM) index, (LPARAM) skinName);