From 7e09dc1aa6de5d6ebe784b2e62133fbd73cf853b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 21 Sep 2016 03:34:43 +0200 Subject: 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 --- libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3