Use string_is_empty

This commit is contained in:
twinaphex 2017-02-21 21:14:58 +01:00
parent 60f0b42b1c
commit dc4464471e

View File

@ -42,7 +42,7 @@ static bool core_option_manager_parse_variable(
if (!string_is_empty(var->value))
value = strdup(var->value);
if (value)
if (!string_is_empty(value))
desc_end = strstr(value, "; ");
if (!desc_end)