msvcrt: Fix __pctype_func implementation.
This commit is contained in:
parent
f272fb2921
commit
38f476399c
|
@ -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;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue