Fix the second occurrence of the same problem

This commit is contained in:
Jean Pierre Cimalando 2020-11-17 19:59:36 +01:00
parent 782aa484bd
commit 26ba0417f7

View file

@ -1493,7 +1493,7 @@ work(LV2_Handle instance,
lv2_log_note(&self->logger,
"[sfizz] Scala file %s seems to have been updated, reloading\n",
self->scala_file_path);
if (sfizz_lv2_load_scala_file(self->synth, self->scala_file_path)) {
if (sfizz_lv2_load_scala_file(self, self->scala_file_path)) {
lv2_log_note(&self->logger, "[sfizz] Scala file loaded: %s\n", self->scala_file_path);
} else {
lv2_log_error(&self->logger,