mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
loop over the method list correctly
This commit is contained in:
parent
3971786ee1
commit
fa6f3cb09d
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ copy_methods (methodlist_t *dst, methodlist_t *src)
|
|||
{
|
||||
method_t *s, *d;
|
||||
|
||||
for (s = src->head; s; s++) {
|
||||
for (s = src->head; s; s = s->next) {
|
||||
d = malloc (sizeof (method_t));
|
||||
*d = *s;
|
||||
d->next = 0;
|
||||
|
|
Loading…
Reference in a new issue