From 9abfa518980e67180604512fc6384fa4ae0a60ea Mon Sep 17 00:00:00 2001 From: qndel Date: Sat, 14 Oct 2023 12:31:22 +0200 Subject: [PATCH] fix typo in comment --- Source/panels/charpanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/panels/charpanel.cpp b/Source/panels/charpanel.cpp index 6a4e0b504..ca65210ba 100644 --- a/Source/panels/charpanel.cpp +++ b/Source/panels/charpanel.cpp @@ -240,7 +240,7 @@ void DrawShadowString(const Surface &out, const PanelEntry &entry) labelPosition += Displacement { -entry.labelLength - (IsSmallFontTall() ? 2 : 3), 0 }; } - // If the text is less tall then the field, we center it vertically relative to the field. + // If the text is less tall than the field, we center it vertically relative to the field. // Otherwise, we draw from the top of the field. const int textHeight = (c_count(wrapped, '\n') + 1) * GetLineHeight(wrapped, GameFont12); const int labelHeight = std::max(PanelFieldHeight, textHeight);