diff options
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp index c4453cfed5..2a4d65dea7 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp +++ b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp @@ -49,7 +49,7 @@ Token Parser::peek_token() Token Parser::next_token() { - if (m_iterator_offset < (int)m_tokens.size()) { + if (m_iterator_offset < (int)m_tokens.size() - 1) { ++m_iterator_offset; } |