ReactOS  0.4.15-dev-985-gd905dd5
mbsdec.c
Go to the documentation of this file.
1 #include <precomp.h>
2 #include <mbstring.h>
3 
4 /*
5  * @implemented
6  */
7 unsigned char * _mbsdec(const unsigned char *str, const unsigned char *cur)
8 {
9  unsigned char *s = (unsigned char *)cur;
10  if ( str >= cur )
11  return NULL;
12 
13  s--;
14  if (_ismbblead(*(s-1)) )
15  s--;
16 
17  return s;
18 }
unsigned char * _mbsdec(const unsigned char *str, const unsigned char *cur)
Definition: mbsdec.c:7
const WCHAR * str
smooth NULL
Definition: ftsmooth.c:416
GLdouble s
Definition: gl.h:2039
int __cdecl _ismbblead(unsigned int)
Definition: ismblead.c:20