diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2005-08-12 15:24:07 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2005-08-12 15:24:07 (GMT) |
commit | 12831af36060c981a4e18f9c4c3a0db8ea9b98ae (patch) | |
tree | 2d44ebc93ce0d62801727d8c1ba8582bef43b684 /generic/tkOldConfig.c | |
parent | 72aee25f15c2cacb152e6c770298102d99f83afa (diff) | |
download | tk-12831af36060c981a4e18f9c4c3a0db8ea9b98ae.zip tk-12831af36060c981a4e18f9c4c3a0db8ea9b98ae.tar.gz tk-12831af36060c981a4e18f9c4c3a0db8ea9b98ae.tar.bz2 |
typo fixes
Diffstat (limited to 'generic/tkOldConfig.c')
-rw-r--r-- | generic/tkOldConfig.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkOldConfig.c b/generic/tkOldConfig.c index c4c301b..87b9d95 100644 --- a/generic/tkOldConfig.c +++ b/generic/tkOldConfig.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkOldConfig.c,v 1.13 2005/08/12 15:21:41 dkf Exp $ + * RCS: @(#) $Id: tkOldConfig.c,v 1.14 2005/08/12 15:24:07 dkf Exp $ */ #include "tkPort.h" @@ -132,7 +132,7 @@ Tk_ConfigureWidget(interp, tkwin, specs, argc, argv, widgRec, flags) */ for (specPtr=specs ; specPtr->type != TK_CONFIG_END ; specPtr++) { - entryCount += sizeof(Tk_ConfigSpec); + entrySpace += sizeof(Tk_ConfigSpec); } /* @@ -165,7 +165,7 @@ Tk_ConfigureWidget(interp, tkwin, specs, argc, argv, widgRec, flags) specPtr->specFlags &= ~TK_CONFIG_OPTION_SPECIFIED; } } else { - cachedSpecPtr = (Tk_ConfigSpec *) Tk_GetHashValue(entryPtr); + cachedSpecPtr = (Tk_ConfigSpec *) Tcl_GetHashValue(entryPtr); } /* @@ -681,7 +681,7 @@ Tk_ConfigureInfo(interp, tkwin, specs, widgRec, argvName, flags) specCacheTablePtr = (Tcl_HashTable *) Tcl_GetAssocData(interp, "tkConfigSpec.threadTable", NULL); entryPtr = Tcl_FindHashEntry(specCacheTablePtr, (char *) specs); - cachedSpecPtr = (Tk_ConfigSpec *) Tk_GetHashValue(entryPtr); + cachedSpecPtr = (Tk_ConfigSpec *) Tcl_GetHashValue(entryPtr); /* * If information is only wanted for a single configuration spec, then @@ -996,7 +996,7 @@ Tk_ConfigureValue(interp, tkwin, specs, widgRec, argvName, flags) specCacheTablePtr = (Tcl_HashTable *) Tcl_GetAssocData(interp, "tkConfigSpec.threadTable", NULL); entryPtr = Tcl_FindHashEntry(specCacheTablePtr, (char *) specs); - cachedSpecPtr = (Tk_ConfigSpec *) Tk_GetHashValue(entryPtr); + cachedSpecPtr = (Tk_ConfigSpec *) Tcl_GetHashValue(entryPtr); specPtr = FindConfigSpec(interp, cachedSpecPtr, argvName, needFlags, hateFlags); |