Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2548742b
Commit
2548742b
authored
Apr 15, 2010
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix locale initialization.
parent
f2f56d56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
main.c
dlls/msvcrt/main.c
+3
-5
No files found.
dlls/msvcrt/main.c
View file @
2548742b
...
...
@@ -87,16 +87,14 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
switch
(
fdwReason
)
{
case
DLL_PROCESS_ATTACH
:
if
(
!
msvcrt_init_tls
())
return
FALSE
;
msvcrt_init_mt_locks
();
if
(
!
MSVCRT_setlocale
(
0
,
"C"
))
{
msvcrt_free_mt_locks
();
msvcrt_free_tls_mem
();
return
FALSE
;
}
if
(
!
msvcrt_init_tls
())
{
_free_locale
(
MSVCRT_locale
);
msvcrt_free_mt_locks
();
return
FALSE
;
}
msvcrt_init_io
();
msvcrt_init_console
();
msvcrt_init_args
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment