summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-01-24 13:08:07 -0500
committerAndreas Kling <kling@serenityos.org>2021-01-24 22:02:23 +0100
commit42a8f99374223ac12215cd8b2205d543d0064346 (patch)
treee37e90043cfef09865194089f819d3d74e054a60 /Userland/Applications
parent90e09dd7a895d6d8748261439f1333fca6b6aea2 (diff)
downloadserenity-42a8f99374223ac12215cd8b2205d543d0064346.zip
FontEditor: Fix typos in code
No behavior change.
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/FontEditor/FontEditor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Applications/FontEditor/FontEditor.cpp b/Userland/Applications/FontEditor/FontEditor.cpp
index 20c2bc3d97..121d2ab6a3 100644
--- a/Userland/Applications/FontEditor/FontEditor.cpp
+++ b/Userland/Applications/FontEditor/FontEditor.cpp
@@ -255,17 +255,17 @@ FontEditorWidget::FontEditorWidget(const String& path, RefPtr<Gfx::BitmapFont>&&
fixed_width_checkbox.set_text("Fixed width");
fixed_width_checkbox.set_checked(m_edited_font->is_fixed_width());
- // Event hanglers
+ // Event handlers
auto update_demo = [&] {
demo_label_1.update();
demo_label_2.update();
};
auto calculate_prefed_sizes = [&] {
- int right_site_width = m_edited_font->width("QUICK FOX JUMPS NIGHTLY ABOVE WIZARD!") + 20;
- right_site_width = max(right_site_width, m_glyph_map_widget->preferred_width());
+ int right_side_width = m_edited_font->width("QUICK FOX JUMPS NIGHTLY ABOVE WIZARD!") + 20;
+ right_side_width = max(right_side_width, m_glyph_map_widget->preferred_width());
- m_preferred_width = m_glyph_editor_widget->width() + right_site_width + 12;
+ m_preferred_width = m_glyph_editor_widget->width() + right_side_width + 12;
m_preferred_height = m_glyph_map_widget->relative_rect().height() + 2 * m_edited_font->glyph_height() + 346;
};