summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/GMLSyntaxHighlighter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/GMLSyntaxHighlighter.cpp')
-rw-r--r--Userland/Libraries/LibGUI/GMLSyntaxHighlighter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/GMLSyntaxHighlighter.cpp b/Userland/Libraries/LibGUI/GMLSyntaxHighlighter.cpp
index 593355edd9..1e6869fbe9 100644
--- a/Userland/Libraries/LibGUI/GMLSyntaxHighlighter.cpp
+++ b/Userland/Libraries/LibGUI/GMLSyntaxHighlighter.cpp
@@ -59,7 +59,7 @@ bool GMLSyntaxHighlighter::is_identifier(void* token) const
return ini_token == GUI::GMLToken::Type::Identifier;
}
-void GMLSyntaxHighlighter::rehighlight(Gfx::Palette palette)
+void GMLSyntaxHighlighter::rehighlight(const Palette& palette)
{
auto text = m_client->get_text();
GMLLexer lexer(text);