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
dce81b94
Commit
dce81b94
authored
Aug 22, 2011
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Constify some variables.
parent
daa5f4bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
locale.c
dlls/msvcrt/locale.c
+2
-2
No files found.
dlls/msvcrt/locale.c
View file @
dce81b94
...
...
@@ -213,7 +213,7 @@ static LCID MSVCRT_locale_to_LCID(const char *locale)
{
LCID
lcid
;
locale_search_t
search
;
char
*
cp
,
*
region
;
c
onst
c
har
*
cp
,
*
region
;
memset
(
&
search
,
0
,
sizeof
(
locale_search_t
));
...
...
@@ -676,7 +676,7 @@ MSVCRT__locale_t MSVCRT__create_locale(int category, const char *locale)
else
if
(
!
locale
[
0
])
lcid
[
0
]
=
GetSystemDefaultLCID
();
else
if
(
locale
[
0
]
==
'L'
&&
locale
[
1
]
==
'C'
&&
locale
[
2
]
==
'_'
)
{
char
*
p
;
c
onst
c
har
*
p
;
while
(
1
)
{
locale
+=
3
;
/* LC_ */
...
...
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