summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2016-02-08 21:39:52 (GMT)
committerfvogel <fvogel@noemail.net>2016-02-08 21:39:52 (GMT)
commitd82ced102e6d12e9cb8d3e965658b939c399b64c (patch)
tree48c25fcf359c3b409ea31c5726b3d72e30556ee6 /generic/tkTextDisp.c
parent77cb5cf1de8a46fa8721ecf6417ed4dee27503ad (diff)
downloadtk-d82ced102e6d12e9cb8d3e965658b939c399b64c.zip
tk-d82ced102e6d12e9cb8d3e965658b939c399b64c.tar.gz
tk-d82ced102e6d12e9cb8d3e965658b939c399b64c.tar.bz2
With the real fix in FindDLine ([717e12ee]) there is no need anymore of the emergency patch [c3c09f82].
FossilOrigin-Name: bd0c8abafb8319436dc90eddab715ddb71ff0535
Diffstat (limited to 'generic/tkTextDisp.c')
-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