summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-02-08 21:39:52 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-02-08 21:39:52 (GMT)
commit961c4a400fecbd654b8b744a5de3f006ceb22d58 (patch)
tree48c25fcf359c3b409ea31c5726b3d72e30556ee6
parentd00d37bf4da1bd2c0ac1548af910aea41a4e1289 (diff)
downloadtk-961c4a400fecbd654b8b744a5de3f006ceb22d58.zip
tk-961c4a400fecbd654b8b744a5de3f006ceb22d58.tar.gz
tk-961c4a400fecbd654b8b744a5de3f006ceb22d58.tar.bz2
With the real fix in FindDLine ([717e12ee]) there is no need anymore of the emergency patch [c3c09f82].finddline
-rw-r--r--generic/tkTextDisp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 4d41134..44d451a 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -4683,9 +4683,6 @@ TextChanged(
*/
lastPtr = FindDLine(textPtr, dInfoPtr->dLinePtr, &rounded);
- while ((lastPtr != NULL) && (TkTextIndexCmp(&lastPtr->index, &rounded) < 0)) {
- lastPtr = lastPtr->nextPtr;
- }
/*
* At least one display line is supposed to change. This makes the