[line_buffer] missed invalidating a sb ref

pull/254/head
Timothy Stack 9 years ago
parent fa89ecc5e5
commit 82574e2e27

@ -251,6 +251,7 @@ throw (error)
* The request is outside the cached range, need to reload the
* whole thing.
*/
this->lb_share_manager.invalidate_refs();
prefill = 0;
this->lb_buffer_size = 0;
if ((this->lb_file_size != (ssize_t)-1) &&

@ -88,8 +88,8 @@ public:
struct line_range body;
string_attrs_t sa;
this->ldh_file->read_full_message(ll, this->ldh_msg);
this->ldh_line_values.clear();
this->ldh_file->read_full_message(ll, this->ldh_msg);
format->annotate(this->ldh_msg, sa, this->ldh_line_values);
body = find_string_attr_range(sa, &textview_curses::SA_BODY);

Loading…
Cancel
Save