mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 06:01:13 +02:00
Fix mistake in commit a1dc830
and add a comment
This commit is contained in:
@@ -518,7 +518,7 @@ int xlbindfunctions(FUNDEF *functions, size_t nfunctions)
|
||||
memcpy(newfuntab, funtab, (szfuntab - 1) * sizeof(FUNDEF));
|
||||
memcpy(newfuntab + szfuntab - 1, functions, nfunctions * sizeof(FUNDEF));
|
||||
FUNDEF sentinel = { 0, 0, 0 };
|
||||
newfuntab[szfuntab - 1] = sentinel;
|
||||
newfuntab[szfuntab + nfunctions - 1] = sentinel;
|
||||
funtab = newfuntab;
|
||||
szfuntab += nfunctions;
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user