diff options
Diffstat (limited to 'Userland/Shell')
-rw-r--r-- | Userland/Shell/SyntaxHighlighter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Shell/SyntaxHighlighter.cpp b/Userland/Shell/SyntaxHighlighter.cpp index 2172f740d0..eb4f3f6bcb 100644 --- a/Userland/Shell/SyntaxHighlighter.cpp +++ b/Userland/Shell/SyntaxHighlighter.cpp @@ -80,7 +80,7 @@ private: if (node->path()->is_bareword()) { auto& span = span_for_node(node->path()); span.attributes.color = m_palette.link(); - span.attributes.underline = true; + span.attributes.underline_style = Gfx::TextAttributes::UnderlineStyle::Solid; } else { NodeVisitor::visit(node); } @@ -479,7 +479,7 @@ private: NodeVisitor::visit(node); auto& span = span_for_node(node); - span.attributes.underline = true; + span.attributes.underline_style = Gfx::TextAttributes::UnderlineStyle::Solid; span.attributes.background_color = Color(Color::NamedColor::MidRed).lightened(1.3f).with_alpha(128); span.attributes.color = m_palette.base_text(); } |