Make the shift times history display one-based frame numbers when shifting the selection onwards. Updates #1098

Originally committed to SVN as r4255.
This commit is contained in:
Thomas Goyne 2010-05-01 01:07:00 +00:00
parent 7a7b7fb5e9
commit 42781c1c62
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ void DialogShiftTimes::OnOK(wxCommandEvent &event) {
// Selection range // Selection range
if (affect == 0) message << _("all"); if (affect == 0) message << _("all");
else if (affect == 2) message << wxString::Format(_("from %i onward"),sel[0]); else if (affect == 2) message << wxString::Format(_("from %i onward"),sel[0]+1);
else { // This huge block of code prints the selected ranges of subs else { // This huge block of code prints the selected ranges of subs
message << _("sel "); message << _("sel ");
int last = sel[0]-1; int last = sel[0]-1;