mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
18 lines
275 B
C
18 lines
275 B
C
#include <precomp.h>
|
|
#include <mbstring.h>
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
unsigned char * _mbsdec(const unsigned char *str, const unsigned char *cur)
|
|
{
|
|
unsigned char *s = (unsigned char *)cur;
|
|
if ( str >= cur )
|
|
return NULL;
|
|
|
|
s--;
|
|
if (_ismbblead(*(s-1)) )
|
|
s--;
|
|
|
|
return s;
|
|
}
|