summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Applications/FontEditor/GlyphEditorWidget.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Applications/FontEditor/GlyphEditorWidget.cpp b/Userland/Applications/FontEditor/GlyphEditorWidget.cpp
index d33f606e37..1ef56ffcea 100644
--- a/Userland/Applications/FontEditor/GlyphEditorWidget.cpp
+++ b/Userland/Applications/FontEditor/GlyphEditorWidget.cpp
@@ -107,8 +107,7 @@ void GlyphEditorWidget::paste_glyph()
auto bitmap = font().raw_glyph(m_glyph).glyph_bitmap();
for (int x = 0; x < min(bitmap.width(), buffer_width.value()); x++) {
for (int y = 0; y < min(bitmap.height(), buffer_height.value()); y++) {
- if (bits[x][y])
- bitmap.set_bit_at(x, y, bits[x][y]);
+ bitmap.set_bit_at(x, y, bits[x][y]);
}
}