mirror of https://github.com/encounter/SDL.git
k_rem_pio2.c: fix typo in second memset(): iq, not q. fixes bug #5309.
This commit is contained in:
parent
061256a3b3
commit
54bb9aaccb
|
@ -191,7 +191,7 @@ recompute:
|
||||||
z = q[j-1]+fw;
|
z = q[j-1]+fw;
|
||||||
}
|
}
|
||||||
if (jz < SDL_arraysize(iq)) {
|
if (jz < SDL_arraysize(iq)) {
|
||||||
SDL_memset(&iq[jz], 0, sizeof (q) - (jz * sizeof (iq[0])));
|
SDL_memset(&iq[jz], 0, sizeof (iq) - (jz * sizeof (iq[0])));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* compute n */
|
/* compute n */
|
||||||
|
|
Loading…
Reference in New Issue