diff options
-rw-r--r-- | src/ui/documentwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index f146ed67..661a9d46 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -204,7 +204,7 @@ static void requestFinished_DocumentWidget_(iAnyObject *obj) { | |||
204 | static iRangei visibleRange_DocumentWidget_(const iDocumentWidget *d) { | 204 | static iRangei visibleRange_DocumentWidget_(const iDocumentWidget *d) { |
205 | const int margin = gap_UI * d->pageMargin; | 205 | const int margin = gap_UI * d->pageMargin; |
206 | return (iRangei){ d->scrollY - margin, | 206 | return (iRangei){ d->scrollY - margin, |
207 | d->scrollY + height_Rect(bounds_Widget(constAs_Widget(d))) - margin }; | 207 | d->scrollY + height_Rect(bounds_Widget(constAs_Widget(d))) }; |
208 | } | 208 | } |
209 | 209 | ||
210 | static void addVisibleLink_DocumentWidget_(void *context, const iGmRun *run) { | 210 | static void addVisibleLink_DocumentWidget_(void *context, const iGmRun *run) { |