diff options
author | fvogel <fvogelnew1@free.fr> | 2014-12-30 17:08:43 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2014-12-30 17:08:43 (GMT) |
commit | 9e2551048f75c130f91342d41ee8342e90739373 (patch) | |
tree | 03113515aeba7fdaf407509260e3c623efa97ef0 /generic/tkTextDisp.c | |
parent | 0e458d797b1b714ca3573448af48fa65ed45ffb1 (diff) | |
download | tk-9e2551048f75c130f91342d41ee8342e90739373.zip tk-9e2551048f75c130f91342d41ee8342e90739373.tar.gz tk-9e2551048f75c130f91342d41ee8342e90739373.tar.bz2 |
Reverted [9f0edc127f] since this commit was not correct.
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r-- | generic/tkTextDisp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index 058f85c..ec14e10 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -5151,8 +5151,7 @@ TkTextSetYView( */ textPtr->topIndex = *indexPtr; - if (!(indexPtr->byteIndex == 0 - && !TkTextIsElided(textPtr, indexPtr, NULL))) { + if (indexPtr->byteIndex != 0) { TkTextFindDisplayLineEnd(textPtr, &textPtr->topIndex, 0, NULL); } dInfoPtr->newTopPixelOffset = pickPlace; |