[examples] stupid bug with copying fixed;

v0.5.xx
Alexander Vdolainen 9 years ago
parent f25b8509b7
commit 6db8841382

@ -79,7 +79,7 @@ static inline int __removechar(char *b, size_t chrs)
char *c = b + chrs; char *c = b + chrs;
size_t blen = strlen(c) + sizeof(char); size_t blen = strlen(c) + sizeof(char);
memcpy(b, c, blen); memmove(b, c, blen);
return chrs; return chrs;
} }

Loading…
Cancel
Save