summaryrefslogtreecommitdiff
path: root/Applications/FontEditor
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/FontEditor')
-rw-r--r--Applications/FontEditor/FontEditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/FontEditor/FontEditor.cpp b/Applications/FontEditor/FontEditor.cpp
index 1fd1431762..33670a0229 100644
--- a/Applications/FontEditor/FontEditor.cpp
+++ b/Applications/FontEditor/FontEditor.cpp
@@ -227,8 +227,8 @@ void GlyphEditorWidget::draw_at_mouse(const GMouseEvent& event)
int x = (event.x() - 1) / m_scale;
int y = (event.y() - 1) / m_scale;
auto bitmap = font().glyph_bitmap(m_glyph);
- ASSERT((unsigned)x < bitmap.width());
- ASSERT((unsigned)y < bitmap.height());
+ ASSERT(x < bitmap.width());
+ ASSERT(y < bitmap.height());
if (bitmap.bit_at(x, y) == set)
return;
bitmap.set_bit_at(x, y, set);