Fixed creation of state history class.

master
Martin Felis 2020-11-21 21:17:52 +01:00
parent cb387beb33
commit ae9ec36325
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ sthstry* sthstry_create() {
result->num_registry_entries = 0; result->num_registry_entries = 0;
result->registry_locked = false; result->registry_locked = false;
sthstry_resize_registry(result, 10); sthstry_resize_registry(result, 10);
return result;
} }
void sthstry_destroy(sthstry* sh) { void sthstry_destroy(sthstry* sh) {