mirror of https://github.com/odrling/Aegisub
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:
parent
7a7b7fb5e9
commit
42781c1c62
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue