OSDN Git Service

[int_synth] Fix loading multiple files
authorStarg <starg@users.osdn.me>
Thu, 22 Apr 2021 21:38:01 +0000 (06:38 +0900)
committerStarg <starg@users.osdn.me>
Thu, 22 Apr 2021 21:38:01 +0000 (06:38 +0900)
timidity/int_synth.c

index f84a853..0973488 100644 (file)
@@ -4334,6 +4334,7 @@ static Preset_IS *load_ini_file(char *ini_file, int type, int preset)
                for (set = is_preset; set; set = set->next){
                        if(!set->next){
                                set->next = newset;
+                               break;
                        }
                }
        }