mirror of
https://github.com/UberGames/ioef.git
synced 2024-12-01 00:21:19 +00:00
It's late, I'm tired.
This commit is contained in:
parent
c257dc2cfa
commit
8a3f2ff805
1 changed files with 2 additions and 2 deletions
|
@ -280,12 +280,12 @@ void *memmove(void *dest, const void *src, size_t count)
|
|||
{
|
||||
if(dest > src)
|
||||
{
|
||||
i = count - 1;
|
||||
i = count;
|
||||
|
||||
do
|
||||
{
|
||||
((char *) dest)[i] = ((char *) src)[i];
|
||||
i--;
|
||||
((char *) dest)[i] = ((char *) src)[i];
|
||||
} while(i > 0);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue