msvcrt: Fix __pctype_func implementation.

oldstable
Piotr Caban 2011-05-19 16:44:09 +02:00 committed by Alexandre Julliard
parent f272fb2921
commit 38f476399c
2 changed files with 4 additions and 4 deletions

View File

@ -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;
}
/*********************************************************************

View File

@ -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);