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
f421d22e
Commit
f421d22e
authored
Mar 31, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Don't call get_locale two times in _isctype function.
parent
68239a62
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ctype.c
dlls/msvcrt/ctype.c
+2
-2
No files found.
dlls/msvcrt/ctype.c
View file @
f421d22e
...
@@ -85,8 +85,8 @@ int CDECL _isctype(int c, int type)
...
@@ -85,8 +85,8 @@ int CDECL _isctype(int c, int type)
*
pconv
++
=
(
UINT
)
c
>>
8
;
*
pconv
++
=
(
UINT
)
c
>>
8
;
*
pconv
++
=
c
&
0xff
;
*
pconv
++
=
c
&
0xff
;
*
pconv
=
0
;
*
pconv
=
0
;
/* FIXME: Use ctype LCID, not lc_all */
if
(
GetStringTypeExA
(
get_locale
()
->
locinfo
->
lc_handle
[
MSVCRT_LC_CTYPE
],
if
(
GetStringTypeExA
(
locale
->
locinfo
->
lc_handle
[
MSVCRT_LC_CTYPE
],
CT_CTYPE1
,
convert
,
convert
[
1
]
?
2
:
1
,
&
typeInfo
))
CT_CTYPE1
,
convert
,
convert
[
1
]
?
2
:
1
,
&
typeInfo
))
return
typeInfo
&
type
;
return
typeInfo
&
type
;
}
}
...
...
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