diff options
Diffstat (limited to 'Applications/FontEditor/GlyphEditorWidget.cpp')
-rw-r--r-- | Applications/FontEditor/GlyphEditorWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FontEditor/GlyphEditorWidget.cpp b/Applications/FontEditor/GlyphEditorWidget.cpp index e3db6ba2a6..d1fcb13dd1 100644 --- a/Applications/FontEditor/GlyphEditorWidget.cpp +++ b/Applications/FontEditor/GlyphEditorWidget.cpp @@ -68,7 +68,7 @@ void GlyphEditorWidget::paint_event(GUI::PaintEvent& event) for (int y = 0; y < font().glyph_height(); ++y) { for (int x = 0; x < font().max_glyph_width(); ++x) { - Gfx::Rect rect { x * m_scale, y * m_scale, m_scale, m_scale }; + Gfx::IntRect rect { x * m_scale, y * m_scale, m_scale, m_scale }; if (x >= font().glyph_width(m_glyph)) { painter.fill_rect(rect, palette().threed_shadow1()); } else { |