diff options
-rw-r--r-- | xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleLineCollection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleLineCollection.cpp b/xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleLineCollection.cpp index 83f52f7ee5..84c2fc6dda 100644 --- a/xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleLineCollection.cpp +++ b/xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitleLineCollection.cpp @@ -60,9 +60,9 @@ void CDVDSubtitleLineCollection::Sort() if (!m_pHead || !m_pHead->pNext) return; - for (ListElement* p1 = m_pHead; p1->pNext->pNext != NULL; p1 = p1->pNext) + for (ListElement* p1 = m_pHead; p1->pNext != NULL; p1 = p1->pNext) { - for (ListElement* p2 = p1->pNext; p2->pNext != NULL; p2 = p2->pNext) + for (ListElement* p2 = p1->pNext; p2 != NULL; p2 = p2->pNext) { if (p1->pOverlay->iPTSStartTime > p2->pOverlay->iPTSStartTime) { |