1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-22 20:06:40 +00:00

fusee-secondary: Correct else-if condition in xmemmove()

Previously both the if and else conditions were the same.
This commit is contained in:
Lioncash 2018-07-29 23:21:30 -04:00 committed by SciresM
parent bbdf2868c9
commit 4b8455baf9

View file

@ -17,7 +17,7 @@ static void *xmemmove(void *dst, const void *src, size_t len)
for (size_t i = 0; i < len; i++) {
dst8[i] = src8[i];
}
} else if (src8 > dst8) {
} else if (dst8 > src8) {
for (size_t i = len; len > 0; len--)
dst8[i - 1] = src8[i - 1];
}