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 f146ed67..661a9d46 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -204,7 +204,7 @@ static void requestFinished_DocumentWidget_(iAnyObject *obj) {
204static iRangei visibleRange_DocumentWidget_(const iDocumentWidget *d) { 204static 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
210static void addVisibleLink_DocumentWidget_(void *context, const iGmRun *run) { 210static void addVisibleLink_DocumentWidget_(void *context, const iGmRun *run) {