Skip to content

Commit

Permalink
Actions: Fix 'SWS: Time-select {previous,next} region' (actually time…
Browse files Browse the repository at this point in the history
…-select, not loop)

fixes reaper-oss#1648
  • Loading branch information
nofishonfriday committed Sep 18, 2022
1 parent 60104ce commit f65399c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MarkerList/MarkerListActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ void SelNextRegion(COMMAND_T*)
{
if (bReg && dRegStart > dCurPos)
{
GetSet_LoopTimeRange(true, true, &dRegStart, &dRegEnd, false);
GetSet_LoopTimeRange(true, false, &dRegStart, &dRegEnd, false);
return;
}
}
Expand All @@ -194,7 +194,7 @@ void SelNextRegion(COMMAND_T*)
{
if (bReg)
{
GetSet_LoopTimeRange(true, true, &dRegStart, &dRegEnd, false);
GetSet_LoopTimeRange(true, false, &dRegStart, &dRegEnd, false);
return;
}
}
Expand Down Expand Up @@ -226,9 +226,9 @@ void SelPrevRegion(COMMAND_T*)
}
}
if (bFound)
GetSet_LoopTimeRange(true, true, &dRegStart, &dRegEnd, false);
GetSet_LoopTimeRange(true, false, &dRegStart, &dRegEnd, false);
else if (bRegions)
GetSet_LoopTimeRange(true, true, &d1, &d2, false);
GetSet_LoopTimeRange(true, false, &d1, &d2, false);
}

// Goto the end of the project, *including* perhaps marker ends
Expand Down

0 comments on commit f65399c

Please sign in to comment.