1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

fix build

This commit is contained in:
ailin-nemui 2018-03-20 18:11:12 +01:00
parent ee04cd503f
commit 138eca0749
2 changed files with 11 additions and 12 deletions

View File

@ -30,24 +30,24 @@ enum {
TXT_FILL_3, TXT_FILL_3,
TXT_STATUSBAR_LIST_HEADER, TXT_STATUSBAR_LIST_HEADER,
TXT_STATUSBAR_LIST_FOOTER, TXT_STATUSBAR_LIST_FOOTER,
TXT_STATUSBAR_LIST, TXT_STATUSBAR_LIST,
TXT_STATUSBAR_INFO_NAME, TXT_STATUSBAR_INFO_NAME,
TXT_STATUSBAR_INFO_TYPE, TXT_STATUSBAR_INFO_TYPE,
TXT_STATUSBAR_INFO_PLACEMENT, TXT_STATUSBAR_INFO_PLACEMENT,
TXT_STATUSBAR_INFO_POSITION, TXT_STATUSBAR_INFO_POSITION,
TXT_STATUSBAR_INFO_VISIBLE, TXT_STATUSBAR_INFO_VISIBLE,
TXT_STATUSBAR_INFO_ITEM_HEADER, TXT_STATUSBAR_INFO_ITEM_HEADER,
TXT_STATUSBAR_INFO_ITEM_FOOTER, TXT_STATUSBAR_INFO_ITEM_FOOTER,
TXT_STATUSBAR_INFO_ITEM_NAME, TXT_STATUSBAR_INFO_ITEM_NAME,
TXT_STATUSBAR_NOT_FOUND, TXT_STATUSBAR_NOT_FOUND,
TXT_STATUSBAR_NOT_ENABLED, TXT_STATUSBAR_NOT_ENABLED,
TXT_STATUSBAR_ITEM_NOT_FOUND, TXT_STATUSBAR_ITEM_NOT_FOUND,
TXT_STATUSBAR_UNKNOWN_COMMAND, TXT_STATUSBAR_UNKNOWN_COMMAND,
TXT_STATUSBAR_UNKNOWN_TYPE, TXT_STATUSBAR_UNKNOWN_TYPE,
TXT_STATUSBAR_UNKNOWN_PLACEMENT, TXT_STATUSBAR_UNKNOWN_PLACEMENT,
TXT_STATUSBAR_UNKNOWN_VISIBILITY, TXT_STATUSBAR_UNKNOWN_VISIBILITY,
TXT_FILL_4, TXT_FILL_4,

View File

@ -101,7 +101,7 @@ statusbar_config_find(STATUSBAR_GROUP_REC *group, const char *name)
return config; return config;
} }
return NULL; return NULL;
} }
static void statusbar_reset_defaults(void) 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, static CONFIG_NODE *statusbar_copy_config(CONFIG_REC *config, CONFIG_NODE *source,
CONFIG_NODE *parent) CONFIG_NODE *parent)
{ {
GSList *tmp; GSList *tmp;
g_return_val_if_fail(parent != NULL, NULL); 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> */ /* SYNTAX: STATUSBAR REMOVEITEM <item> <statusbar> */
static void cmd_statusbar_removeitem(const char *data, void *server, void *witem) static void cmd_statusbar_removeitem(const char *data, void *server, void *witem)
{ {
CONFIG_REC *config, *close_config;
CONFIG_NODE *node; CONFIG_NODE *node;
char *item, *statusbar; char *item, *statusbar;
void *free_arg; void *free_arg;