diff options
author | James Booth <boothj5@gmail.com> | 2016-02-25 01:51:33 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-02-25 01:51:33 +0000 |
commit | fbd913ec626d8436ea4efdde4ffc8090a3b52cfc (patch) | |
tree | 41155d5889074c61fce14b00649df35ef836068d /src | |
parent | c562702ab9e1c456c488030b0f294616749dc838 (diff) | |
download | profani-tty-fbd913ec626d8436ea4efdde4ffc8090a3b52cfc.tar.gz |
Remove default from plugin theme NULL checks
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/themes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/themes.c b/src/plugins/themes.c index 42e7b7a1..f441af84 100644 --- a/src/plugins/themes.c +++ b/src/plugins/themes.c @@ -74,7 +74,7 @@ plugin_themes_close(void) theme_item_t plugin_themes_get(const char *const group, const char *const key, const char *const def) { - if (group && key && def && g_key_file_has_key(themes, group, key, NULL)) { + if (group && key && g_key_file_has_key(themes, group, key, NULL)) { gchar *result = g_key_file_get_string(themes, group, key, NULL); theme_item_t ret; |