mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-26 13:50:50 +00:00
Merge pull request #243 from rmattes/master
Fixed nasty loop test. Fixes #244
This commit is contained in:
commit
0689841e1f
1 changed files with 1 additions and 1 deletions
|
@ -1647,7 +1647,7 @@ fluid_handle_help(fluid_cmd_handler_t* handler, int ac, char** av, fluid_ostream
|
|||
}; /* for all topics (outer loop) */
|
||||
} else {
|
||||
/* help (arbitrary topic or "all") */
|
||||
for (i = 0; FLUID_N_ELEMENTS(fluid_commands); i++) {
|
||||
for (i = 0; i < FLUID_N_ELEMENTS(fluid_commands); i++) {
|
||||
if (fluid_commands[i].help != NULL) {
|
||||
if (strcmp(topic,"all") == 0 || strcmp(topic,fluid_commands[i].topic) == 0){
|
||||
fluid_ostream_printf(out, "%s\n", fluid_commands[i].help);
|
||||
|
|
Loading…
Reference in a new issue