diff options
-rw-r--r-- | xbmc/ApplicationMessenger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/ApplicationMessenger.cpp b/xbmc/ApplicationMessenger.cpp index 59c2ee23e3..4a626e94e6 100644 --- a/xbmc/ApplicationMessenger.cpp +++ b/xbmc/ApplicationMessenger.cpp @@ -471,7 +471,7 @@ void CApplicationMessenger::ProcessMessage(ThreadMessage *pMsg) bool stopSlideshow = true; bool stopVideo = true; bool stopMusic = true; - if (pMsg->dwParam1 >= 0) + if (pMsg->dwParam1 >= PLAYLIST_MUSIC && pMsg->dwParam1 <= PLAYLIST_PICTURE) { stopSlideshow = (pMsg->dwParam1 == PLAYLIST_PICTURE); stopVideo = (pMsg->dwParam1 == PLAYLIST_VIDEO); |