mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Wipe debug code.
This commit is contained in:
parent
9b35965ce1
commit
353795b25e
@ -608,11 +608,7 @@ size_t utf8cpy(char *d, size_t d_len, const char *s, size_t chars)
|
|||||||
if (sb - sb_org > d_len-1 /* NUL */)
|
if (sb - sb_org > d_len-1 /* NUL */)
|
||||||
{
|
{
|
||||||
sb = sb_org + d_len-1;
|
sb = sb_org + d_len-1;
|
||||||
//if ((*sb&0xC0) == 0x80)
|
while ((*sb&0xC0) == 0x80) sb--;
|
||||||
{
|
|
||||||
while ((*sb&0xC0) == 0x80) sb--;
|
|
||||||
//sb--;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
memcpy(d, sb_org, sb-sb_org);
|
memcpy(d, sb_org, sb-sb_org);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user