mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
Fix possibility to set string parameters
This commit is contained in:
parent
c389878c5d
commit
997b660805
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ void process_o_cmd_line_option(fluid_settings_t* settings, char* optarg)
|
|||
}
|
||||
break;
|
||||
case FLUID_STR_TYPE:
|
||||
if (fluid_settings_setstr (settings, optarg, val))
|
||||
if (!fluid_settings_setstr (settings, optarg, val))
|
||||
{
|
||||
fprintf (stderr, "Failed to set string parameter '%s'\n", optarg);
|
||||
exit (1);
|
||||
|
|
Loading…
Reference in a new issue