Fix Make times continuous

This commit is contained in:
Thomas Goyne 2014-03-16 16:56:36 -07:00
parent 1bd63ce35c
commit 59e8ec522e

View file

@ -83,7 +83,7 @@ static void adjoin_lines(agi::Context *c, bool set_start) {
AssDialogue *prev = nullptr; AssDialogue *prev = nullptr;
size_t seen = 0; size_t seen = 0;
bool prev_sel = false; bool prev_sel = false;
for (auto diag : c->ass->Events) { for (auto& diag : c->ass->Events) {
bool cur_sel = !!sel.count(&diag); bool cur_sel = !!sel.count(&diag);
if (prev) { if (prev) {
// One row selections act as if the previous or next line was selected // One row selections act as if the previous or next line was selected