diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/svg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/svg.c b/src/utils/svg.c index b52a4f6..dd746f9 100644 --- a/src/utils/svg.c +++ b/src/utils/svg.c @@ -30,7 +30,7 @@ mq_svg_is_color_valid(const gchar *color) { gsize i; - if (color[0] != '#') { + if (!color || color[0] != '#') { return FALSE; } for (i = 1; i <= 6; ++i) { |