mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
parent
048c51c4ab
commit
2cc0d0ea17
1 changed files with 8 additions and 3 deletions
|
@ -695,10 +695,15 @@ fluid_handle_fonts(fluid_synth_t* synth, int ac, char** av, fluid_ostream_t out)
|
|||
|
||||
for (i = 0; i < num; i++) {
|
||||
sfont = fluid_synth_get_sfont(synth, i);
|
||||
if (sfont) {
|
||||
fluid_ostream_printf(out, "%2d %s\n",
|
||||
fluid_sfont_get_id(sfont),
|
||||
fluid_sfont_get_name(sfont));
|
||||
}
|
||||
else {
|
||||
fluid_ostream_printf(out, "sfont is \"NULL\" for index %d\n", i);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue