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
f2f56d56
Commit
f2f56d56
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: Change localeconv implementation.
parent
ede103c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
32 deletions
+1
-32
locale.c
dlls/msvcrt/locale.c
+1
-32
No files found.
dlls/msvcrt/locale.c
View file @
f2f56d56
...
...
@@ -462,38 +462,7 @@ int CDECL __crtGetLocaleInfoW( LCID lcid, LCTYPE type, MSVCRT_wchar_t *buffer, i
*/
struct
MSVCRT_lconv
*
CDECL
MSVCRT_localeconv
(
void
)
{
static
struct
MSVCRT_lconv
xlconv
;
struct
lconv
*
ylconv
=
localeconv
();
xlconv
.
decimal_point
=
ylconv
->
decimal_point
;
xlconv
.
thousands_sep
=
ylconv
->
thousands_sep
;
xlconv
.
grouping
=
ylconv
->
grouping
;
/* FIXME: fixup charmax here too */
xlconv
.
int_curr_symbol
=
ylconv
->
int_curr_symbol
;
xlconv
.
currency_symbol
=
ylconv
->
currency_symbol
;
xlconv
.
mon_decimal_point
=
ylconv
->
mon_decimal_point
;
xlconv
.
mon_thousands_sep
=
ylconv
->
mon_thousands_sep
;
xlconv
.
mon_grouping
=
ylconv
->
mon_grouping
;
xlconv
.
positive_sign
=
ylconv
->
positive_sign
;
xlconv
.
negative_sign
=
ylconv
->
negative_sign
;
xlconv
.
int_frac_digits
=
ylconv
->
int_frac_digits
;
xlconv
.
frac_digits
=
ylconv
->
frac_digits
;
xlconv
.
p_cs_precedes
=
ylconv
->
p_cs_precedes
;
xlconv
.
p_sep_by_space
=
ylconv
->
p_sep_by_space
;
xlconv
.
n_cs_precedes
=
ylconv
->
n_cs_precedes
;
xlconv
.
n_sep_by_space
=
ylconv
->
n_sep_by_space
;
xlconv
.
p_sign_posn
=
ylconv
->
p_sign_posn
;
xlconv
.
n_sign_posn
=
ylconv
->
n_sign_posn
;
if
(
ylconv
->
int_frac_digits
==
CHAR_MAX
)
xlconv
.
int_frac_digits
=
charmax
;
if
(
ylconv
->
frac_digits
==
CHAR_MAX
)
xlconv
.
frac_digits
=
charmax
;
if
(
ylconv
->
p_cs_precedes
==
CHAR_MAX
)
xlconv
.
p_cs_precedes
=
charmax
;
if
(
ylconv
->
p_sep_by_space
==
CHAR_MAX
)
xlconv
.
p_sep_by_space
=
charmax
;
if
(
ylconv
->
n_cs_precedes
==
CHAR_MAX
)
xlconv
.
n_cs_precedes
=
charmax
;
if
(
ylconv
->
n_sep_by_space
==
CHAR_MAX
)
xlconv
.
n_sep_by_space
=
charmax
;
if
(
ylconv
->
p_sign_posn
==
CHAR_MAX
)
xlconv
.
p_sign_posn
=
charmax
;
if
(
ylconv
->
n_sign_posn
==
CHAR_MAX
)
xlconv
.
n_sign_posn
=
charmax
;
return
&
xlconv
;
return
get_locale
()
->
locinfo
->
lconv
;
}
/*********************************************************************
...
...
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