summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index fce548b4..ab8af9b8 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -269,7 +269,7 @@ static iRect documentBounds_DocumentWidget_(const iDocumentWidget *d) {
269} 269}
270 270
271static int forceBreakWidth_DocumentWidget_(const iDocumentWidget *d) { 271static int forceBreakWidth_DocumentWidget_(const iDocumentWidget *d) {
272 if (isLineWrapForced_App()) { 272 if (forceLineWrap_App()) {
273 const iRect bounds = bounds_Widget(constAs_Widget(d)); 273 const iRect bounds = bounds_Widget(constAs_Widget(d));
274 const iRect docBounds = documentBounds_DocumentWidget_(d); 274 const iRect docBounds = documentBounds_DocumentWidget_(d);
275 return right_Rect(bounds) - left_Rect(docBounds) - gap_UI * d->pageMargin; 275 return right_Rect(bounds) - left_Rect(docBounds) - gap_UI * d->pageMargin;