summaryrefslogtreecommitdiffstats
path: root/generic
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
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')
-rw-r--r--generic/tkButton.c6
-rw-r--r--generic/tkMenu.c2
-rw-r--r--generic/tkScale.c2
3 files changed, 5 insertions, 5 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
diff --git a/generic/tkMenu.c b/generic/tkMenu.c
index a096684..3a2d987 100644
--- a/generic/tkMenu.c
+++ b/generic/tkMenu.c
@@ -2525,7 +2525,7 @@ MenuVarProc(
}
} while (probe);
if (probe) {
- /*
+ /*
* We were able to fetch the unset trace for our
* namePtr, which means it is not unset and not
* the cause of this unset trace. Instead some outdated
diff --git a/generic/tkScale.c b/generic/tkScale.c
index a821e9d..5957b00 100644
--- a/generic/tkScale.c
+++ b/generic/tkScale.c
@@ -1371,7 +1371,7 @@ ScaleVarProc(
}
} while (probe);
if (probe) {
- /*
+ /*
* We were able to fetch the unset trace for our
* varNamePtr, which means it is not unset and not
* the cause of this unset trace. Instead some outdated