summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-15 23:10:47 (GMT)
committernijtmans <nijtmans>2010-02-15 23:10:47 (GMT)
commit66cdccbc5f5f8daf4985fedc138a7f147a0053e2 (patch)
treea0365187f8d8b669e86afbca18fc9b1ec2f4dd33 /win/tclWinSock.c
parentd51db74e5f9c0be32cbd0cfeeff0797a74cfd4ba (diff)
downloadtcl-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/tclWinSock.c')
-rw-r--r--win/tclWinSock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 457ca80..933523a 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.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: tclWinSock.c,v 1.68 2010/01/10 22:58:40 nijtmans Exp $
+ * RCS: @(#) $Id: tclWinSock.c,v 1.69 2010/02/15 23:10:47 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -2432,7 +2432,7 @@ InitializeHostName(
* Convert string from native to UTF then change to lowercase.
*/
- Tcl_UtfToLower(Tcl_WinTCharToUtf((TCHAR *) wbuf, -1, &ds));
+ Tcl_UtfToLower((char *) tclWinProcs->tchar2utf((TCHAR *) wbuf, -1, &ds));
} else {
Tcl_DStringInit(&ds);