1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Remove default from plugin theme NULL checks

This commit is contained in:
James Booth 2016-02-25 01:51:33 +00:00
parent c562702ab9
commit fbd913ec62

View File

@ -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;