mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 23:48:11 +00:00
More moving towards using signed types.
I'm still feeling this out, but I am starting to like the general idea.
This commit is contained in:
parent
beda478821
commit
9624b54703
48 changed files with 234 additions and 250 deletions
|
@ -336,7 +336,7 @@ void Painter::draw_text(const Rect& rect, const String& text, TextAlignment alig
|
|||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
for (unsigned i = 0; i < text.length(); ++i, point.move_by(font().glyph_width(), 0)) {
|
||||
for (ssize_t i = 0; i < text.length(); ++i, point.move_by(font().glyph_width(), 0)) {
|
||||
byte ch = text[i];
|
||||
if (ch == ' ')
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue