Skip to content

Commit 823d841

Browse files
committed
Fixed 'history delete #' not quite working.
1 parent 132c383 commit 823d841

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

clink/app/src/history/history_db.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,13 @@ history_db::line_id read_line_iter::next(str_iter& out)
466466
return 0;
467467

468468
do
469+
{
469470
if (line_id_impl ret = m_line_iter.next(out))
471+
{
472+
ret.bank_index = m_bank_index - 1;
470473
return ret.outer;
474+
}
475+
}
471476
while (next_bank());
472477

473478
return 0;

0 commit comments

Comments
 (0)