FFlist: fix return value of ffListPop

This commit is contained in:
李通洲 committed 2024-12-20 11:12:14 +08:00
1 parent 3bb82423b3
commit 41240e9460
1 file changed
+1 -1
+1 -1
View File
@@ -34,5 +34,5 @@ bool ffListPop(FFlist* list, void* result)
memcpy(result, ffListGet(list, list->length - 1), list->elementSize);
--list->length;
return result;
return true;
}