From f2c022cd543442790b1b519d8b9e6a08192697c3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 25 Dec 2016 01:14:30 +0100 Subject: [PATCH] command.c - use string_is_empty --- command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.c b/command.c index 38bd8eb243..f06604df7a 100644 --- a/command.c +++ b/command.c @@ -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;