diff --git a/Userland/Libraries/LibWeb/CSS/Parser/TokenStream.h b/Userland/Libraries/LibWeb/CSS/Parser/TokenStream.h index c3277799206..0db0d3231e2 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/TokenStream.h +++ b/Userland/Libraries/LibWeb/CSS/Parser/TokenStream.h @@ -182,7 +182,7 @@ public: dbgln("Dumping all tokens:"); for (size_t i = 0; i < m_tokens.size(); ++i) { auto& token = m_tokens[i]; - if (i == m_index) + if (i == m_index - 1) dbgln("-> {}", token.to_debug_string()); else dbgln(" {}", token.to_debug_string());