command.c - use string_is_empty

This commit is contained in:
twinaphex 2016-12-25 01:14:30 +01:00
parent c3c963799b
commit f2c022cd54

View File

@ -2062,7 +2062,7 @@ bool command_event(enum event_command cmd, void *data)
break;
case CMD_EVENT_DSP_FILTER_INIT:
command_event(CMD_EVENT_DSP_FILTER_DEINIT, NULL);
if (!*settings->path.audio_dsp_plugin)
if (string_is_empty(settings->path.audio_dsp_plugin))
break;
audio_driver_dsp_filter_init(settings->path.audio_dsp_plugin);
break;