diff options
author | Robin Gareus <robin@gareus.org> | 2016-09-21 03:34:43 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-09-21 03:34:43 +0200 |
commit | 7e09dc1aa6de5d6ebe784b2e62133fbd73cf853b (patch) | |
tree | 0d66e5f091063128c03d6e95e4e86beacb7d7f50 /libs/plugins | |
parent | 1733f5bceffd4765f6edad4514d8d2c89223305c (diff) |
fix LV2 State Flags for Atom:Path
state-restore does not set the same flag, so lilv_state_equals()
returns false even for identical states and a new state is saved regardless
actual fix also depends on http://dev.drobilla.net/ticket/1145
Diffstat (limited to 'libs/plugins')
-rw-r--r-- | libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c index 249cc7799c..1af651be3f 100644 --- a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c +++ b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c @@ -566,8 +566,7 @@ save (LV2_Handle instance, char* apath = map_path->abstract_path (map_path->handle, self->current_sf2_file_path); store (handle, self->afs_sf2file, apath, strlen (apath) + 1, - self->atom_Path, - LV2_STATE_IS_POD | LV2_STATE_IS_PORTABLE); + self->atom_Path, LV2_STATE_IS_POD); return LV2_STATE_SUCCESS; } |