about summary refs log tree commit diff stats
path: root/src/plugins
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-02-25 01:51:33 +0000
committerJames Booth <boothj5@gmail.com>2016-02-25 01:51:33 +0000
commitfbd913ec626d8436ea4efdde4ffc8090a3b52cfc (patch)
tree41155d5889074c61fce14b00649df35ef836068d /src/plugins
parentc562702ab9e1c456c488030b0f294616749dc838 (diff)
downloadprofani-tty-fbd913ec626d8436ea4efdde4ffc8090a3b52cfc.tar.gz
Remove default from plugin theme NULL checks
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/themes.c2
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;