mirror of
https://github.com/UberGames/ioef.git
synced 2024-12-03 01:22:34 +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)
|
if(dest > src)
|
||||||
{
|
{
|
||||||
i = count - 1;
|
i = count;
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
((char *) dest)[i] = ((char *) src)[i];
|
|
||||||
i--;
|
i--;
|
||||||
|
((char *) dest)[i] = ((char *) src)[i];
|
||||||
} while(i > 0);
|
} while(i > 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue