Fix imap_delete

This commit is contained in:
luboslenco
2025-08-13 20:18:49 +02:00
parent c67e255179
commit 328ff1c18b
+1 -1
View File
@@ -213,7 +213,7 @@ void *any_imap_get(any_imap_t *m, int k) {
void imap_delete(any_imap_t *m, int k) {
int i = i32_array_index_of(m->keys, k);
if (i > -1) {
array_splice(m->keys, i, 1);
i32_array_splice(m->keys, i, 1);
array_splice(m->values, i, 1);
}
}