From 3e113da5e39f663a793fded54e4b4d17eb8aa5f6 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Thu, 30 Dec 2021 14:46:06 +0100 Subject: [PATCH] Revert "Fix a typo" This reverts commit 83cde564cdd9c9d6f59cf795f723dd9c9cab8ed3. --- src/xspice/evt/evtload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xspice/evt/evtload.c b/src/xspice/evt/evtload.c index 5df33df97..b4d65c0fc 100644 --- a/src/xspice/evt/evtload.c +++ b/src/xspice/evt/evtload.c @@ -376,7 +376,7 @@ static void EVTcreate_state( During evaluation, however, only the two last stated are used. Therefore the following code deletes a state from the head of the ist, when there are more than two states. - FIXME: this could be done more efficiently (e.g. by not mallocing new states), + FIXME: this could be done more efficiently (e.g. by not mallocong new states), but one carefully has to update relevant indices. */ if ((type == 78 || type == 79) && (state_data->head[inst_index]->next->next)) { first_state = state_data->head[inst_index];