summaryrefslogtreecommitdiffstats
path: root/win/tclWinPipe.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/tclWinPipe.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/tclWinPipe.c')
-rw-r--r--win/tclWinPipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c
index b7dddaa..5d97915 100644
--- a/win/tclWinPipe.c
+++ b/win/tclWinPipe.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinPipe.c,v 1.75 2010/02/15 22:56:19 nijtmans Exp $
+ * RCS: @(#) $Id: tclWinPipe.c,v 1.76 2010/02/15 23:10:47 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -1417,7 +1417,7 @@ ApplicationType(
if ((attr == 0xffffffff) || (attr & FILE_ATTRIBUTE_DIRECTORY)) {
continue;
}
- strcpy(fullName, Tcl_WinTCharToUtf((TCHAR *) nativeFullPath, -1, &ds));
+ strcpy(fullName, tclWinProcs->tchar2utf((TCHAR *) nativeFullPath, -1, &ds));
Tcl_DStringFree(&ds);
ext = strrchr(fullName, '.');
@@ -1508,7 +1508,7 @@ ApplicationType(
tclWinProcs->getShortPathNameProc((TCHAR *) nativeFullPath,
nativeFullPath, MAX_PATH);
- strcpy(fullName, Tcl_WinTCharToUtf((TCHAR *) nativeFullPath, -1, &ds));
+ strcpy(fullName, tclWinProcs->tchar2utf((TCHAR *) nativeFullPath, -1, &ds));
Tcl_DStringFree(&ds);
}
return applType;