summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2018-03-20 18:11:12 +0100
committerailin-nemui <ailin-nemui@users.noreply.github.com>2018-03-20 18:13:26 +0100
commit138eca0749dd05a4a16df9e43d87af2143b224f2 (patch)
treeb56b603c73229c882613cc016690c1a4b29c089d
parentee04cd503ff70a1aed79cdb2c9f787c98b075182 (diff)
downloadirssi-138eca0749dd05a4a16df9e43d87af2143b224f2.zip
fix build
-rw-r--r--src/fe-text/module-formats.h18
-rw-r--r--src/fe-text/statusbar-config.c5
2 files changed, 11 insertions, 12 deletions
diff --git a/src/fe-text/module-formats.h b/src/fe-text/module-formats.h
index a9f4c6ae..ac60fdb7 100644
--- a/src/fe-text/module-formats.h
+++ b/src/fe-text/module-formats.h
@@ -30,24 +30,24 @@ enum {
TXT_FILL_3,
- TXT_STATUSBAR_LIST_HEADER,
+ TXT_STATUSBAR_LIST_HEADER,
TXT_STATUSBAR_LIST_FOOTER,
TXT_STATUSBAR_LIST,
TXT_STATUSBAR_INFO_NAME,
TXT_STATUSBAR_INFO_TYPE,
- TXT_STATUSBAR_INFO_PLACEMENT,
+ TXT_STATUSBAR_INFO_PLACEMENT,
TXT_STATUSBAR_INFO_POSITION,
TXT_STATUSBAR_INFO_VISIBLE,
- TXT_STATUSBAR_INFO_ITEM_HEADER,
+ TXT_STATUSBAR_INFO_ITEM_HEADER,
TXT_STATUSBAR_INFO_ITEM_FOOTER,
- TXT_STATUSBAR_INFO_ITEM_NAME,
- TXT_STATUSBAR_NOT_FOUND,
- TXT_STATUSBAR_NOT_ENABLED,
- TXT_STATUSBAR_ITEM_NOT_FOUND,
+ TXT_STATUSBAR_INFO_ITEM_NAME,
+ TXT_STATUSBAR_NOT_FOUND,
+ TXT_STATUSBAR_NOT_ENABLED,
+ TXT_STATUSBAR_ITEM_NOT_FOUND,
TXT_STATUSBAR_UNKNOWN_COMMAND,
- TXT_STATUSBAR_UNKNOWN_TYPE,
+ TXT_STATUSBAR_UNKNOWN_TYPE,
TXT_STATUSBAR_UNKNOWN_PLACEMENT,
- TXT_STATUSBAR_UNKNOWN_VISIBILITY,
+ TXT_STATUSBAR_UNKNOWN_VISIBILITY,
TXT_FILL_4,
diff --git a/src/fe-text/statusbar-config.c b/src/fe-text/statusbar-config.c
index 7b5b6884..314befaa 100644
--- a/src/fe-text/statusbar-config.c
+++ b/src/fe-text/statusbar-config.c
@@ -101,7 +101,7 @@ statusbar_config_find(STATUSBAR_GROUP_REC *group, const char *name)
return config;
}
- return NULL;
+ return NULL;
}
static void statusbar_reset_defaults(void)
@@ -542,7 +542,7 @@ static CONFIG_NODE *config_sbar_items_section(CONFIG_REC *config, CONFIG_NODE *p
static CONFIG_NODE *statusbar_copy_config(CONFIG_REC *config, CONFIG_NODE *source,
CONFIG_NODE *parent)
{
- GSList *tmp;
+ GSList *tmp;
g_return_val_if_fail(parent != NULL, NULL);
@@ -671,7 +671,6 @@ static void cmd_statusbar_additem_modifyitem(const char *data, void *server, voi
/* SYNTAX: STATUSBAR REMOVEITEM <item> <statusbar> */
static void cmd_statusbar_removeitem(const char *data, void *server, void *witem)
{
- CONFIG_REC *config, *close_config;
CONFIG_NODE *node;
char *item, *statusbar;
void *free_arg;