# HG changeset patch # User ib # Date 1354649163 0 # Node ID 6422042d74d926ce0155be521ad42bd4950df1db # Parent af72f85b6f44cf248bd47f6188956e0dd49f52a5 Simplify assignments. diff -r af72f85b6f44 -r 6422042d74d9 gui/ui/actions.c --- a/gui/ui/actions.c Tue Dec 04 19:13:18 2012 +0000 +++ b/gui/ui/actions.c Tue Dec 04 19:26:03 2012 +0000 @@ -386,7 +386,7 @@ 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 @@ 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; }