X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=aft.c;h=1afc16bc542b3812687af3a58df97b941586d885;hb=c62b1c7be957398d6641b00f2282fb7235091a3c;hp=bfcd1fb0162fe8a8a03c0f5ba165acc60be71cf0;hpb=c6a123a4bfdce6c278ece9d368ad94c33db567da;p=paraslash.git diff --git a/aft.c b/aft.c index bfcd1fb0..1afc16bc 100644 --- a/aft.c +++ b/aft.c @@ -2272,7 +2272,9 @@ static int copy_selector_info(__a_unused struct osl_table *table, ret = get_afsi_object_of_row(row, &target_afsi_obj); if (ret < 0) return ret; - load_afsi(&target_afsi, &target_afsi_obj); + ret = load_afsi(&target_afsi, &target_afsi_obj); + if (ret < 0) + return ret; old_afsi = target_afsi; if (cad->flags & CPSI_FLAG_COPY_LYRICS_ID) target_afsi.lyrics_id = cad->source_afsi.lyrics_id;