Skip to content

Commit

Permalink
Fixed 'history delete #' not quite working.
Browse files Browse the repository at this point in the history
  • Loading branch information
mridgers committed Aug 7, 2018
1 parent 132c383 commit 823d841
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clink/app/src/history/history_db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,13 @@ history_db::line_id read_line_iter::next(str_iter& out)
return 0;

do
{
if (line_id_impl ret = m_line_iter.next(out))
{
ret.bank_index = m_bank_index - 1;
return ret.outer;
}
}
while (next_bank());

return 0;
Expand Down

0 comments on commit 823d841

Please sign in to comment.