mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 22:35:07 +00:00
AK: Make Vector use size_t for its size and capacity
This commit is contained in:
parent
9c6f7d3e7d
commit
ceec1a7d38
94 changed files with 323 additions and 317 deletions
|
@ -212,7 +212,7 @@ bool MDText::parse(const StringView& str)
|
|||
while (offset < str.length() && str[offset] != ')');
|
||||
|
||||
const StringView href = str.substring_view(start_of_href, offset - start_of_href);
|
||||
for (int i = first_span_in_the_current_link; i < m_spans.size(); i++)
|
||||
for (size_t i = first_span_in_the_current_link; i < m_spans.size(); i++)
|
||||
m_spans[i].style.href = href;
|
||||
first_span_in_the_current_link = -1;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue