Skip to content

Commit 455293d

Browse files
author
jan.nijtmans
committed
setlocal initialization is already done by Tcl, not needed here any more
1 parent ac246a3 commit 455293d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

win/winMain.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,6 @@ _tWinMain(
150150

151151
consoleRequired = TRUE;
152152

153-
/*
154-
* Set up the default locale to be standard "C" locale so parsing is
155-
* performed correctly.
156-
*/
157-
158-
setlocale(LC_ALL, "C");
159-
160153
/*
161154
* Get our args from the c-runtime. Ignore lpszCmdLine.
162155
*/
@@ -297,13 +290,6 @@ _tmain(
297290
int argc,
298291
TCHAR **argv)
299292
{
300-
/*
301-
* Set up the default locale to be standard "C" locale so parsing is
302-
* performed correctly.
303-
*/
304-
305-
setlocale(LC_ALL, "C");
306-
307293
/*
308294
* Console emulation widget not required as this entry is from the
309295
* console subsystem, thus stdin,out,err already have end-points.

0 commit comments

Comments
 (0)