forked from PsychoticNinja/irssi
Update fe-common-core.c
fix mixed decls
This commit is contained in:
parent
4d5982f07d
commit
121a4971e6
@ -461,16 +461,19 @@ void fe_common_core_finish_init(void)
|
|||||||
|
|
||||||
gboolean strarray_find_dest(char **array, const TEXT_DEST_REC *dest)
|
gboolean strarray_find_dest(char **array, const TEXT_DEST_REC *dest)
|
||||||
{
|
{
|
||||||
int channel_type = module_get_uniq_id_str("WINDOW ITEM TYPE", "CHANNEL");
|
WI_ITEM_REC *item;
|
||||||
int query_type = module_get_uniq_id_str("WINDOW ITEM TYPE", "QUERY");
|
int server_tag_len, channel_type, query_type;
|
||||||
char **tmp;
|
char **tmp;
|
||||||
|
|
||||||
|
channel_type = module_get_uniq_id_str("WINDOW ITEM TYPE", "CHANNEL");
|
||||||
|
query_type = module_get_uniq_id_str("WINDOW ITEM TYPE", "QUERY");
|
||||||
|
|
||||||
g_return_val_if_fail(array != NULL, FALSE);
|
g_return_val_if_fail(array != NULL, FALSE);
|
||||||
g_return_val_if_fail(dest != NULL, FALSE);
|
g_return_val_if_fail(dest != NULL, FALSE);
|
||||||
g_return_val_if_fail(dest->window != NULL, FALSE);
|
g_return_val_if_fail(dest->window != NULL, FALSE);
|
||||||
g_return_val_if_fail(dest->target != NULL, FALSE);
|
g_return_val_if_fail(dest->target != NULL, FALSE);
|
||||||
|
|
||||||
WI_ITEM_REC *item = window_item_find_window(dest->window, dest->server, dest->target);
|
item = window_item_find_window(dest->window, dest->server, dest->target);
|
||||||
if (item == NULL) {
|
if (item == NULL) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user