summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-07 06:07:46 -0500
committermidipix <writeonce@midipix.org>2016-01-07 06:07:46 -0500
commit047bc5b40b4743e0b4c08507c68476b17c5aa016 (patch)
tree1171c1285e18ccb863b742833354af9430bb3de4 /src/logic
parent2e879cef83189bf50789ea3e3d144738222e828c (diff)
downloadapimagic-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.c2
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;