aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ViewStyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index 5d10dbb83..84d165997 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -356,7 +356,7 @@ void ViewStyle::Refresh(Surface &surface, int tabInChars) {
maxAscent = 1;
maxDescent = 1;
FindMaxAscentDescent();
- // Ensure reasonable values: lines less than 1 pixel high will not work
+ // Ensure reasonable values: lines less than 1 pixel high will not work
maxAscent = std::max(1.0, maxAscent + extraAscent);
maxDescent = std::max(0.0, maxDescent + extraDescent);
lineHeight = static_cast<int>(std::lround(maxAscent + maxDescent));