13
0

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
This commit is contained in:
Robin Gareus 2016-09-21 03:34:43 +02:00
parent 1733f5bcef
commit 7e09dc1aa6

View File

@ -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;
}