summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-03 21:14:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-03 21:14:00 (GMT)
commit9997531222f9a5ea6e8da18ca5eb0241f06c0c61 (patch)
tree07033958f2cf07ee4171f346d2400faf21b7af9a
parent7e88cb3d95e4e109025330d5a72cc2710e9944d9 (diff)
downloadtk-9997531222f9a5ea6e8da18ca5eb0241f06c0c61.zip
tk-9997531222f9a5ea6e8da18ca5eb0241f06c0c61.tar.gz
tk-9997531222f9a5ea6e8da18ca5eb0241f06c0c61.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 5903dfb..356e8b7 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;