summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
diff options
context:
space:
mode:
authorculler <culler>2018-11-28 13:44:53 (GMT)
committerculler <culler>2018-11-28 13:44:53 (GMT)
commit2f18a3f080b8f55b2b4be4a90e948531f203eb7d (patch)
tree73c26eb0993e147d35ae5feafc980d2bf8cf7a33 /generic/tkTextDisp.c
parent008e597e700fa1706b4c6f6ea6f904bbd2dc1dab (diff)
downloadtk-2f18a3f080b8f55b2b4be4a90e948531f203eb7d.zip
tk-2f18a3f080b8f55b2b4be4a90e948531f203eb7d.tar.gz
tk-2f18a3f080b8f55b2b4be4a90e948531f203eb7d.tar.bz2
Tidy up whitespace and casts of NULL.
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r--generic/tkTextDisp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 348b8c4..8d60754 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -219,7 +219,7 @@ typedef struct TextStyle {
#define LOG(toVar,what) \
if (OK_TO_LOG) \
Tcl_SetVar2(textPtr->interp, toVar, NULL, (what), \
- TCL_GLOBAL_ONLY|TCL_APPEND_VALUE|TCL_LIST_ELEMENT)
+ TCL_GLOBAL_ONLY|TCL_APPEND_VALUE|TCL_LIST_ELEMENT)
#define CLEAR(var) \
if (OK_TO_LOG) \
Tcl_SetVar2(interp, var, NULL, "", TCL_GLOBAL_ONLY)
@@ -3142,11 +3142,11 @@ GenerateWidgetViewSyncEvent(
* like a mouse click is received. But that extra drawing corrupts the
* data that the test suite is trying to collect.
*/
-
+
if (!tkTextDebug) {
FORCE_DISPLAY(textPtr->tkwin);
}
-
+
TkSendVirtualEvent(textPtr->tkwin, "WidgetViewSync",
Tcl_NewBooleanObj(InSync));
}
@@ -5268,7 +5268,7 @@ TkTextRelayoutWindow(
AsyncUpdateLineMetrics, textPtr);
inSync = 0;
}
-
+
if (!inSync) {
GenerateWidgetViewSyncEvent(textPtr, 0);
}