diff options
author | midipix <writeonce@midipix.org> | 2016-01-07 06:07:46 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-01-07 06:07:46 -0500 |
commit | 047bc5b40b4743e0b4c08507c68476b17c5aa016 (patch) | |
tree | 1171c1285e18ccb863b742833354af9430bb3de4 /src/logic | |
parent | 2e879cef83189bf50789ea3e3d144738222e828c (diff) | |
download | apimagic-047bc5b40b4743e0b4c08507c68476b17c5aa016.tar.bz2 apimagic-047bc5b40b4743e0b4c08507c68476b17c5aa016.tar.xz |
amgc_get_unit_entities(): fix initialization of the typedef vector.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/amgc_unit_entities.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/amgc_unit_entities.c b/src/logic/amgc_unit_entities.c index c86c1bc..e5b9000 100644 --- a/src/logic/amgc_unit_entities.c +++ b/src/logic/amgc_unit_entities.c @@ -125,7 +125,7 @@ int amgc_get_unit_entities( break; case ENTITY_TYPEDEF: - uentities->typedefs[meta->ntypedefs++].entity = entity; + uentities->typedefs[meta->ntypedefs].entity = entity; meta->ntypedefs++; break; |