Skip to content
This repository
Browse code

fix CApplicationMessenger::MediaStop() in case no playlistid has been…

… provided
  • Loading branch information...
commit ac48e166cec51c89c9c69851397bbbc1051be7d4 1 parent 6a85317
Sascha Montellese authored January 26, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/ApplicationMessenger.cpp
2  xbmc/ApplicationMessenger.cpp
@@ -471,7 +471,7 @@ void CApplicationMessenger::ProcessMessage(ThreadMessage *pMsg)
471 471
         bool stopSlideshow = true;
472 472
         bool stopVideo = true;
473 473
         bool stopMusic = true;
474  
-        if (pMsg->dwParam1 >= 0)
  474
+        if (pMsg->dwParam1 >= PLAYLIST_MUSIC && pMsg->dwParam1 <= PLAYLIST_PICTURE)
475 475
         {
476 476
           stopSlideshow = (pMsg->dwParam1 == PLAYLIST_PICTURE);
477 477
           stopVideo = (pMsg->dwParam1 == PLAYLIST_VIDEO);

0 notes on commit ac48e16

Please sign in to comment.
Something went wrong with that request. Please try again.