msvcrt: Return string in _wcslwr and _wcslwr_l.

This commit is contained in:
Piotr Caban 2014-05-27 11:02:42 +02:00 committed by Alexandre Julliard
parent e63f0bf4b8
commit 28830b4b36
1 changed files with 6 additions and 4 deletions

View File

@ -273,17 +273,19 @@ int CDECL MSVCRT__wcslwr_s( MSVCRT_wchar_t* str, MSVCRT_size_t n )
/****************************************************************** /******************************************************************
* _wcslwr_l (MSVCRT.@) * _wcslwr_l (MSVCRT.@)
*/ */
int CDECL MSVCRT__wcslwr_l( MSVCRT_wchar_t* str, MSVCRT__locale_t locale ) MSVCRT_wchar_t* CDECL MSVCRT__wcslwr_l( MSVCRT_wchar_t* str, MSVCRT__locale_t locale )
{ {
return MSVCRT__wcslwr_s_l(str, -1, locale); MSVCRT__wcslwr_s_l(str, -1, locale);
return str;
} }
/****************************************************************** /******************************************************************
* _wcslwr (MSVCRT.@) * _wcslwr (MSVCRT.@)
*/ */
int CDECL MSVCRT__wcslwr( MSVCRT_wchar_t* str ) MSVCRT_wchar_t* CDECL MSVCRT__wcslwr( MSVCRT_wchar_t* str )
{ {
return MSVCRT__wcslwr_s_l(str, -1, NULL); MSVCRT__wcslwr_s_l(str, -1, NULL);
return str;
} }
/********************************************************************* /*********************************************************************