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 | fea2ef2b4e93cc7d56bfbe9d6765392555c4a09f (patch) | |
tree | 03113515aeba7fdaf407509260e3c623efa97ef0 /generic/tkTextDisp.c | |
parent | 7fb708fd832dcf54c337e3bd92b80ad4166a041b (diff) | |
download | tk-fea2ef2b4e93cc7d56bfbe9d6765392555c4a09f.zip tk-fea2ef2b4e93cc7d56bfbe9d6765392555c4a09f.tar.gz tk-fea2ef2b4e93cc7d56bfbe9d6765392555c4a09f.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; |