diff options
Diffstat (limited to 'src/state.c')
-rw-r--r-- | src/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c index 94c9141..dbbcdd0 100644 --- a/src/state.c +++ b/src/state.c @@ -564,7 +564,7 @@ new_state_from_model(LilvWorld* world, uint32_t flags = LV2_STATE_IS_POD|LV2_STATE_IS_PORTABLE; Property prop = { NULL, 0, 0, 0, flags }; - prop.key = map->map(map->handle, pred); + prop.key = map->map(map->handle, key); prop.type = atom->type; prop.size = atom->size; prop.value = malloc(atom->size); |