diff --git a/AK/BufferedStream.h b/AK/BufferedStream.h index 69e23347264..6b618e17c69 100644 --- a/AK/BufferedStream.h +++ b/AK/BufferedStream.h @@ -55,7 +55,7 @@ public: return buffer; // Fill the internal buffer if it has run dry. - if (m_buffer.used_space() < buffer.size()) + if (m_buffer.used_space() == 0) TRY(populate_read_buffer()); // Let's try to take all we can from the buffer first.