summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/GlyphMapWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/GlyphMapWidget.cpp')
-rw-r--r--Userland/Libraries/LibGUI/GlyphMapWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/GlyphMapWidget.cpp b/Userland/Libraries/LibGUI/GlyphMapWidget.cpp
index 344e653bb7..be2ca8a094 100644
--- a/Userland/Libraries/LibGUI/GlyphMapWidget.cpp
+++ b/Userland/Libraries/LibGUI/GlyphMapWidget.cpp
@@ -44,7 +44,7 @@ bool GlyphMapWidget::Selection::contains(int i) const
void GlyphMapWidget::Selection::extend_to(int glyph)
{
m_size = glyph - m_start;
- if (m_size > 0)
+ if (m_size >= 0)
m_size++;
}