[MPlayer-cvslog] r35594 - trunk/gui/ui/actions.c
ib
subversion at mplayerhq.hu
Tue Dec 4 20:26:03 CET 2012
Author: ib
Date: Tue Dec 4 20:26:03 2012
New Revision: 35594
Log:
Simplify assignments.
Modified:
trunk/gui/ui/actions.c
Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c Tue Dec 4 20:13:18 2012 (r35593)
+++ trunk/gui/ui/actions.c Tue Dec 4 20:26:03 2012 (r35594)
@@ -386,7 +386,7 @@ void uiPrev(void)
if (prev) {
uiSetFile(prev->path, prev->name, STREAMTYPE_FILE);
- guiInfo.PlaylistNext = (guiInfo.Playing ? False : True);
+ guiInfo.PlaylistNext = !guiInfo.Playing;
guiInfo.Track = (int)listMgr(PLAYLIST_ITEM_GET_POS, prev);
break;
}
@@ -442,7 +442,7 @@ void uiNext(void)
if (next) {
uiSetFile(next->path, next->name, STREAMTYPE_FILE);
- guiInfo.PlaylistNext = (guiInfo.Playing ? False : True);
+ guiInfo.PlaylistNext = !guiInfo.Playing;
guiInfo.Track = (int)listMgr(PLAYLIST_ITEM_GET_POS, next);
break;
}
More information about the MPlayer-cvslog
mailing list