summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorculler <culler>2019-01-03 19:45:29 (GMT)
committerculler <culler>2019-01-03 19:45:29 (GMT)
commitdb428d2e19e35d38ecf47ca6d08a83c318576d40 (patch)
tree67e9a96fc5cf3e9a809c9528ec4b050a6e949217
parentc5533b50401ae20076e2f06f0fe531aa1eabc626 (diff)
downloadtk-db428d2e19e35d38ecf47ca6d08a83c318576d40.zip
tk-db428d2e19e35d38ecf47ca6d08a83c318576d40.tar.gz
tk-db428d2e19e35d38ecf47ca6d08a83c318576d40.tar.bz2
Remove 3 lines of code in tkTextDisp.c which had become obsolete but were
accidentally left in the file.
-rw-r--r--generic/tkTextDisp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index cde30e1..4fb30e0 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -3391,10 +3391,6 @@ TkTextUpdateLineMetrics(
GetYView(textPtr->interp, textPtr, 1);
}
if (fullUpdateRequested) {
- TextDInfo *dInfoPtr = textPtr->dInfoPtr;
-
- dInfoPtr->lastMetricUpdateLine = lineNum;
- dInfoPtr->currentMetricUpdateLine = lineNum;
GenerateWidgetViewSyncEvent(textPtr, 1);
}
return lineNum;