diff options
author | dgp <dgp@users.sourceforge.net> | 2002-02-08 02:57:10 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-02-08 02:57:10 (GMT) |
commit | 22946a8cd411fca97059fd12ff2e1b015afc922c (patch) | |
tree | 0dce5cb9458a0fe29fd391898aedfe73a6b1a598 /mac/tkMacKeyboard.c | |
parent | c4c221ed212e46e8248635e96a58dc801e106668 (diff) | |
download | tk-22946a8cd411fca97059fd12ff2e1b015afc922c.zip tk-22946a8cd411fca97059fd12ff2e1b015afc922c.tar.gz tk-22946a8cd411fca97059fd12ff2e1b015afc922c.tar.bz2 |
* modified some callers of Tcl routines that
were restored to return (char *) pointing into Tcl_DStrings.
Diffstat (limited to 'mac/tkMacKeyboard.c')
-rw-r--r-- | mac/tkMacKeyboard.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mac/tkMacKeyboard.c b/mac/tkMacKeyboard.c index def5b19..2cf8d0a 100644 --- a/mac/tkMacKeyboard.c +++ b/mac/tkMacKeyboard.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacKeyboard.c,v 1.7 2002/01/27 11:10:57 das Exp $ + * RCS: @(#) $Id: tkMacKeyboard.c,v 1.8 2002/02/08 02:57:11 dgp Exp $ */ #include "tkInt.h" @@ -247,8 +247,7 @@ TkpGetString( len = 0; } } - Tcl_ExternalToUtfDString(NULL, string, len, dsPtr); - return Tcl_DStringValue(dsPtr); + return Tcl_ExternalToUtfDString(NULL, string, len, dsPtr); } /* |