ReactOS  0.4.14-dev-41-g31d7680
mbsdec.c File Reference
#include <precomp.h>
#include <mbstring.h>
Include dependency graph for mbsdec.c:

Go to the source code of this file.

Functions

unsigned char_mbsdec (const unsigned char *str, const unsigned char *cur)
 

Function Documentation

◆ _mbsdec()

unsigned char* _mbsdec ( const unsigned char str,
const unsigned char cur 
)

Definition at line 7 of file mbsdec.c.

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 }
const WCHAR * str
smooth NULL
Definition: ftsmooth.c:416
GLdouble s
Definition: gl.h:2039
int __cdecl _ismbblead(unsigned int)
Definition: ismblead.c:20