summaryrefslogtreecommitdiffstats
path: root/generic/tkTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-01 14:37:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-01 14:37:44 (GMT)
commit88df780305133662dbb17971c05b9663a2b69f9d (patch)
treea7c0c278cf069624afc4606776cb62254dc988bb /generic/tkTest.c
parent36cc0029458ead72be711c8c402f55a4fd26edd3 (diff)
downloadtk-88df780305133662dbb17971c05b9663a2b69f9d.zip
tk-88df780305133662dbb17971c05b9663a2b69f9d.tar.gz
tk-88df780305133662dbb17971c05b9663a2b69f9d.tar.bz2
typo
Diffstat (limited to 'generic/tkTest.c')
-rw-r--r--generic/tkTest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c
index 88c50fa..782af01 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -2017,7 +2017,7 @@ CustomOptionSet(
}
}
if (internalPtr != NULL) {
- if (*valu) != NULL) {
+ if (*value != NULL) {
string = Tcl_GetStringFromObj(*value, &length);
newStr = ckalloc(length + 1);
strcpy(newStr, string);