diff options
author | fvogel <fvogelnew1@free.fr> | 2016-02-08 21:45:03 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-02-08 21:45:03 (GMT) |
commit | 4cf679d27cf1beb50d5806e6173a8071821aff95 (patch) | |
tree | 2411c18032a29392cd51db0792093f4cecca3929 /generic | |
parent | 9b3fefa1f082d55d68361c9d4e2f39efec3bc214 (diff) | |
download | tk-4cf679d27cf1beb50d5806e6173a8071821aff95.zip tk-4cf679d27cf1beb50d5806e6173a8071821aff95.tar.gz tk-4cf679d27cf1beb50d5806e6173a8071821aff95.tar.bz2 |
Corrected indentation + added an explanatory comment.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkTextDisp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index 07623c4..960f11a 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -5243,7 +5243,10 @@ TkTextSetYView( dInfoPtr->newTopPixelOffset = 0; goto scheduleUpdate; - } + } + /* + * The line is already on screen, with no need to scroll. + */ return; } } |