From 4d498ea184982953cd6a548748bd8363f4306a3c Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Thu, 23 Feb 2006 21:36:14 +0000 Subject: [PATCH] Originally committed to SVN as r130. --- core/subs_grid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/subs_grid.cpp b/core/subs_grid.cpp index c611d0635..113001a78 100644 --- a/core/subs_grid.cpp +++ b/core/subs_grid.cpp @@ -1084,7 +1084,7 @@ void SubtitlesGrid::SetSubsToVideo(bool start) { if (!VFR_Output.loaded) return; // Get new time - int ms = VFR_Output.CorrectTimeAtFrame(video->frame_n,true); + int ms = VFR_Output.CorrectTimeAtFrame(video->frame_n,start); // Update selection wxArrayInt sel = GetSelection(); @@ -1116,7 +1116,7 @@ void SubtitlesGrid::SetVideoToSubs(bool start) { if (sel.Count() == 0) return; AssDialogue *cur = GetDialogue(sel[0]); if (cur) { - if (start) video->JumpToFrame(VFR_Output.CorrectFrameAtTime(cur->Start.GetMS(),true)); + if (start) video->JumpToFrame(VFR_Output.CorrectFrameAtTime(cur->Start.GetMS(),start)); else video->JumpToFrame(VFR_Output.CorrectFrameAtTime(cur->End.GetMS(),false)); } }