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
38f47639
Commit
38f47639
authored
May 19, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
May 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix __pctype_func implementation.
parent
f272fb29
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ctype.c
dlls/msvcrt/ctype.c
+3
-3
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-1
No files found.
dlls/msvcrt/ctype.c
View file @
38f47639
...
...
@@ -56,14 +56,14 @@ WORD MSVCRT__ctype [257] = {
* changes to affect ctypes (i.e. isleadbyte), we use a second table
* and update its flags whenever the current locale changes.
*/
WORD
*
MSVCRT__pctype
=
NULL
;
unsigned
short
*
MSVCRT__pctype
=
NULL
;
/*********************************************************************
* __pctype_func (MSVCRT.@)
*/
WORD
*
*
CDECL
MSVCRT___pctype_func
(
void
)
const
unsigned
short
*
CDECL
MSVCRT___pctype_func
(
void
)
{
return
&
get_locale
()
->
locinfo
->
pctype
;
return
get_locale
()
->
locinfo
->
pctype
;
}
/*********************************************************************
...
...
dlls/msvcrt/msvcrt.h
View file @
38f47639
...
...
@@ -135,7 +135,7 @@ extern int MSVCRT___lc_codepage;
extern
int
MSVCRT___lc_collate_cp
;
extern
int
MSVCRT___mb_cur_max
;
extern
WORD
MSVCRT__ctype
[
257
];
extern
WORD
*
MSVCRT__pctype
;
extern
unsigned
short
*
MSVCRT__pctype
;
void
msvcrt_set_errno
(
int
);
...
...
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