summaryrefslogtreecommitdiffstats
path: root/src/TextViewLog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/TextViewLog.cpp')
-rw-r--r--src/TextViewLog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TextViewLog.cpp b/src/TextViewLog.cpp
index ba7c512..ad20c37 100644
--- a/src/TextViewLog.cpp
+++ b/src/TextViewLog.cpp
@@ -76,7 +76,7 @@ TextViewLog::min_height() const
int line_height = 0;
_text_view->get_line_yrange(buffer->begin(), y, line_height);
- return line_height + 2 * _text_view->get_pixels_inside_wrap();
+ return line_height + (2 * _text_view->get_pixels_inside_wrap());
}
} // namespace patchage