mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
18
sdk/lib/crt/mbstring/mbsdec.c
Normal file
18
sdk/lib/crt/mbstring/mbsdec.c
Normal file
|
@ -0,0 +1,18 @@
|
|||
#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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue