summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-02-08 21:47:37 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-02-08 21:47:37 (GMT)
commitbc001728827804d86aac9bd890ef3776ceee373c (patch)
treecf27f3ac60b8641754d095ee80277c74e48ca119 /generic
parent173f7cf4cfa6289eab436d64654e37090f2616f3 (diff)
downloadtk-bc001728827804d86aac9bd890ef3776ceee373c.zip
tk-bc001728827804d86aac9bd890ef3776ceee373c.tar.gz
tk-bc001728827804d86aac9bd890ef3776ceee373c.tar.bz2
Corrected indentation + added an explanatory comment (cherrypicked [1121252f])
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTextDisp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 91642f9..559fbf7 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -5176,7 +5176,10 @@ TkTextSetYView(
dInfoPtr->newTopPixelOffset = 0;
goto scheduleUpdate;
- }
+ }
+ /*
+ * The line is already on screen, with no need to scroll.
+ */
return;
}
}