diff --git a/Userland/Libraries/LibGUI/INILexer.cpp b/Userland/Libraries/LibGUI/INILexer.cpp index 333570ce68..6fdf3576b6 100644 --- a/Userland/Libraries/LibGUI/INILexer.cpp +++ b/Userland/Libraries/LibGUI/INILexer.cpp @@ -95,7 +95,7 @@ Vector IniLexer::lex() begin_token(); while (peek() && !(peek() == ']' || peek() == '\n')) consume(); - commit_token(IniToken::Type::section); + commit_token(IniToken::Type::Section); // ] Token if (peek() && peek() == ']') { diff --git a/Userland/Libraries/LibGUI/INILexer.h b/Userland/Libraries/LibGUI/INILexer.h index 411a01bba7..4f187f02aa 100644 --- a/Userland/Libraries/LibGUI/INILexer.h +++ b/Userland/Libraries/LibGUI/INILexer.h @@ -14,7 +14,7 @@ namespace GUI { __TOKEN(Unknown) \ __TOKEN(Comment) \ __TOKEN(Whitespace) \ - __TOKEN(section) \ + __TOKEN(Section) \ __TOKEN(LeftBracket) \ __TOKEN(RightBracket) \ __TOKEN(Name) \ diff --git a/Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp b/Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp index 36ee819cb4..f206a92aa2 100644 --- a/Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp +++ b/Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp @@ -15,7 +15,7 @@ static Syntax::TextStyle style_for_token_type(const Gfx::Palette& palette, IniTo switch (type) { case IniToken::Type::LeftBracket: case IniToken::Type::RightBracket: - case IniToken::Type::section: + case IniToken::Type::Section: return { palette.syntax_keyword(), true }; case IniToken::Type::Name: return { palette.syntax_identifier() };