diff options
author | fvogel <fvogelnew1@free.fr> | 2016-02-08 21:47:37 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-02-08 21:47:37 (GMT) |
commit | e07cc72f16cbe99171e74b22132575f9827d298e (patch) | |
tree | cf27f3ac60b8641754d095ee80277c74e48ca119 /generic | |
parent | 6c9bfa9fd65f656771dfae771ae084c936bffcc7 (diff) | |
download | tk-e07cc72f16cbe99171e74b22132575f9827d298e.zip tk-e07cc72f16cbe99171e74b22132575f9827d298e.tar.gz tk-e07cc72f16cbe99171e74b22132575f9827d298e.tar.bz2 |
Corrected indentation + added an explanatory comment (cherrypicked [1121252f])
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 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; } } |