diff options
author | nijtmans <nijtmans> | 2010-02-15 23:10:47 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-02-15 23:10:47 (GMT) |
commit | 66cdccbc5f5f8daf4985fedc138a7f147a0053e2 (patch) | |
tree | a0365187f8d8b669e86afbca18fc9b1ec2f4dd33 /win/tclWinInit.c | |
parent | d51db74e5f9c0be32cbd0cfeeff0797a74cfd4ba (diff) | |
download | tcl-66cdccbc5f5f8daf4985fedc138a7f147a0053e2.zip tcl-66cdccbc5f5f8daf4985fedc138a7f147a0053e2.tar.gz tcl-66cdccbc5f5f8daf4985fedc138a7f147a0053e2.tar.bz2 |
Eliminate all internal Tcl_WinUtfToTChar
and Tcl_WinTCharToUtf calls, needed
for mslu support.
Diffstat (limited to 'win/tclWinInit.c')
-rw-r--r-- | win/tclWinInit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinInit.c b/win/tclWinInit.c index 7e33234..9115eaa 100644 --- a/win/tclWinInit.c +++ b/win/tclWinInit.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: tclWinInit.c,v 1.84 2009/11/18 21:59:50 nijtmans Exp $ + * RCS: @(#) $Id: tclWinInit.c,v 1.85 2010/02/15 23:10:47 nijtmans Exp $ */ #include "tclWinInt.h" @@ -555,7 +555,7 @@ TclpSetVariables( if (tclWinProcs->getUserName((LPTSTR)szUserName, &cchUserNameLen) != 0) { int cbUserNameLen = cchUserNameLen - 1; if (tclWinProcs->useWide) cbUserNameLen *= sizeof(WCHAR); - Tcl_WinTCharToUtf((LPTSTR)szUserName, cbUserNameLen, &ds); + tclWinProcs->tchar2utf((LPTSTR)szUserName, cbUserNameLen, &ds); } } Tcl_SetVar2(interp, "tcl_platform", "user", Tcl_DStringValue(&ds), |