mirror of
https://github.com/tstack/lnav
synced 2024-11-15 18:13:10 +00:00
[build] minor fixes
This commit is contained in:
parent
836fc83203
commit
642fce3548
@ -245,7 +245,7 @@ void attr_line_t::apply_hide()
|
|||||||
sattr.sa_range.length() > 3) {
|
sattr.sa_range.length() > 3) {
|
||||||
struct line_range &lr = sattr.sa_range;
|
struct line_range &lr = sattr.sa_range;
|
||||||
|
|
||||||
for_each(sa.begin(), sa.end(), [&] (string_attr &attr) {
|
std::for_each(sa.begin(), sa.end(), [&] (string_attr &attr) {
|
||||||
if (attr.sa_type == &view_curses::VC_STYLE &&
|
if (attr.sa_type == &view_curses::VC_STYLE &&
|
||||||
lr.contains(attr.sa_range)) {
|
lr.contains(attr.sa_range)) {
|
||||||
attr.sa_type = &SA_REMOVED;
|
attr.sa_type = &SA_REMOVED;
|
||||||
|
@ -378,7 +378,6 @@ bool textview_curses::handle_mouse(mouse_event &me)
|
|||||||
void textview_curses::textview_value_for_row(vis_line_t row,
|
void textview_curses::textview_value_for_row(vis_line_t row,
|
||||||
attr_line_t &value_out)
|
attr_line_t &value_out)
|
||||||
{
|
{
|
||||||
view_colors &vc = view_colors::singleton();
|
|
||||||
bookmark_vector<vis_line_t> &user_marks = this->tc_bookmarks[&BM_USER];
|
bookmark_vector<vis_line_t> &user_marks = this->tc_bookmarks[&BM_USER];
|
||||||
string_attrs_t &sa = value_out.get_attrs();
|
string_attrs_t &sa = value_out.get_attrs();
|
||||||
string &str = value_out.get_string();
|
string &str = value_out.get_string();
|
||||||
|
Loading…
Reference in New Issue
Block a user