summaryrefslogtreecommitdiffstats
path: root/generic/tkButton.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-05-17 07:21:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-05-17 07:21:59 (GMT)
commit19351002aaa78f907ef8b1fabb4814b74aaca32c (patch)
tree842b4a7e3459bfcf099a6cdddee7bdda2220305b /generic/tkButton.c
parent423e8c0ec8c6d081b376adcc7cd1040ef6105dfd (diff)
downloadtk-19351002aaa78f907ef8b1fabb4814b74aaca32c.zip
tk-19351002aaa78f907ef8b1fabb4814b74aaca32c.tar.gz
tk-19351002aaa78f907ef8b1fabb4814b74aaca32c.tar.bz2
Add missing INT2PTR (doesn't cause warning with Tcl8.x, but does with Tcl 9.0). One None -> NULL change which was still missing. Backported from trunk.
Diffstat (limited to 'generic/tkButton.c')
-rw-r--r--generic/tkButton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkButton.c b/generic/tkButton.c
index 61aab0e..0d760b0 100644
--- a/generic/tkButton.c
+++ b/generic/tkButton.c
@@ -1636,7 +1636,7 @@ ButtonVarProc(
}
} while (probe);
if (probe) {
- /*
+ /*
* We were able to fetch the unset trace for our
* selVarNamePtr, which means it is not unset and not
* the cause of this unset trace. Instead some outdated
@@ -1739,7 +1739,7 @@ ButtonTextVarProc(
/*
* An unset trace on some variable brought us here, but is it
- * the variable we have stored in butPtr->textVarNamePtr ?
+ * the variable we have stored in butPtr->textVarNamePtr ?
*/
ClientData probe = NULL;
@@ -1754,7 +1754,7 @@ ButtonTextVarProc(
}
} while (probe);
if (probe) {
- /*
+ /*
* We were able to fetch the unset trace for our
* textVarNamePtr, which means it is not unset and not
* the cause of this unset trace. Instead some outdated