]> git.pld-linux.org Git - packages/smplayer.git/commitdiff
- fixed out of range in playlist auto/th/smplayer-0_6_1-2 auto/ti/smplayer-0_6_1-2
authorKarol Krenski <charles@pld-linux.org>
Sat, 31 May 2008 11:21:32 +0000 (11:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    smplayer-playlist_oor.patch -> 1.1

smplayer-playlist_oor.patch [new file with mode: 0644]

diff --git a/smplayer-playlist_oor.patch b/smplayer-playlist_oor.patch
new file mode 100644 (file)
index 0000000..d255310
--- /dev/null
@@ -0,0 +1,11 @@
+--- smplayer-0.6.1/src/playlist.cpp.orig       2008-04-27 01:24:04.000000000 +0200
++++ smplayer-0.6.1/src/playlist.cpp    2008-05-31 11:25:17.057627094 +0200
+@@ -810,7 +810,7 @@
+ void Playlist::playPrev() {
+       qDebug("Playlist::playPrev");
+-      playItem( current_item-1 );
++      if (current_item > 0) playItem( current_item-1 );
+ }
+ void Playlist::getMediaInfo() {
This page took 0.040724 seconds and 4 git commands to generate.