diff options
author | dgp@users.sourceforge.net <dgp> | 2002-01-25 21:09:35 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2002-01-25 21:09:35 (GMT) |
commit | 88acd7b2c13e4966ea7b12e5a313babc157d15b2 (patch) | |
tree | 2041d0c0de9f76a800e1af4c067e78376fbdd570 /generic/tkMenubutton.c | |
parent | cdee35ad481be1d543e491b568c49f42ebaa7115 (diff) | |
download | tk-88acd7b2c13e4966ea7b12e5a313babc157d15b2.zip tk-88acd7b2c13e4966ea7b12e5a313babc157d15b2.tar.gz tk-88acd7b2c13e4966ea7b12e5a313babc157d15b2.tar.bz2 |
* Updated callers of Tcl_SplitList and Tcl_Merge.
* Updated callers of Tcl_GetStringResult.
Rewrote PrintScrollFractions to ScrollFractions to stop scribbling
directly on interp->result.
* Updated callers of Tcl_GetVar, Tcl_GetVar2
* Updated callers of Tcl_SplitPath, Tcl_JoinPath, and
Tcl_TranslateFileName.
Diffstat (limited to 'generic/tkMenubutton.c')
-rw-r--r-- | generic/tkMenubutton.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkMenubutton.c b/generic/tkMenubutton.c index 05559d7..dd86ae0 100644 --- a/generic/tkMenubutton.c +++ b/generic/tkMenubutton.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMenubutton.c,v 1.9 2002/01/17 05:13:11 dgp Exp $ + * RCS: @(#) $Id: tkMenubutton.c,v 1.10 2002/01/25 21:09:37 dgp Exp $ */ #include "tkMenubutton.h" @@ -627,7 +627,7 @@ ConfigureMenuButton(interp, mbPtr, objc, objv) * current value. */ - char *value; + CONST char *value; value = Tcl_GetVar(interp, mbPtr->textVarName, TCL_GLOBAL_ONLY); if (value == NULL) { @@ -872,7 +872,7 @@ MenuButtonTextVarProc(clientData, interp, name1, name2, flags) int flags; /* Information about what happened. */ { register TkMenuButton *mbPtr = (TkMenuButton *) clientData; - char *value; + CONST char *value; /* * If the variable is unset, then immediately recreate it unless |