mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 03:03:12 +02:00
core: fix some styles
This commit is contained in:
@@ -1499,7 +1499,7 @@ relay_irc_recv (struct t_relay_client *client, const char *data)
|
||||
"weechat-relay-irc, running version %s",
|
||||
RELAY_IRC_DATA(client, address),
|
||||
RELAY_IRC_DATA(client, nick),
|
||||
weechat_info_get("version", NULL));
|
||||
weechat_info_get ("version", NULL));
|
||||
snprintf (str_time, sizeof (str_time), "%s",
|
||||
ctime (&client->listen_start_time));
|
||||
if (str_time[0])
|
||||
@@ -1514,7 +1514,7 @@ relay_irc_recv (struct t_relay_client *client, const char *data)
|
||||
RELAY_IRC_DATA(client, address),
|
||||
RELAY_IRC_DATA(client, nick),
|
||||
RELAY_IRC_DATA(client, address),
|
||||
weechat_info_get("version", NULL));
|
||||
weechat_info_get ("version", NULL));
|
||||
infolist_server = weechat_infolist_get ("irc_server", NULL,
|
||||
client->protocol_args);
|
||||
if (infolist_server)
|
||||
|
||||
@@ -56,9 +56,9 @@ relay_buffer_refresh (const char *hotlist)
|
||||
client_selected = relay_client_search_by_number (relay_buffer_selected_line);
|
||||
weechat_printf_y (relay_buffer, 0,
|
||||
"%s%s%s%s%s%s%s",
|
||||
weechat_color("green"),
|
||||
weechat_color ("green"),
|
||||
_("Actions (letter+enter):"),
|
||||
weechat_color("lightgreen"),
|
||||
weechat_color ("lightgreen"),
|
||||
/* disconnect */
|
||||
(client_selected
|
||||
&& !RELAY_CLIENT_HAS_ENDED(client_selected)) ?
|
||||
@@ -119,9 +119,9 @@ relay_buffer_refresh (const char *hotlist)
|
||||
/* first line with status, description and bytes recv/sent */
|
||||
weechat_printf_y (relay_buffer, (line * 2) + 2,
|
||||
_("%s%s[%s%s%s%s] %s, received: %s, sent: %s"),
|
||||
weechat_color(str_color),
|
||||
weechat_color (str_color),
|
||||
(line == relay_buffer_selected_line) ? "*** " : " ",
|
||||
weechat_color(weechat_config_string (relay_config_color_status[ptr_client->status])),
|
||||
weechat_color (weechat_config_string (relay_config_color_status[ptr_client->status])),
|
||||
str_status,
|
||||
weechat_color ("reset"),
|
||||
weechat_color (str_color),
|
||||
@@ -132,7 +132,7 @@ relay_buffer_refresh (const char *hotlist)
|
||||
/* second line with start/end time */
|
||||
weechat_printf_y (relay_buffer, (line * 2) + 3,
|
||||
_("%s%-26s started on: %s, ended on: %s"),
|
||||
weechat_color(str_color),
|
||||
weechat_color (str_color),
|
||||
" ",
|
||||
str_date_start,
|
||||
str_date_end);
|
||||
|
||||
@@ -47,7 +47,7 @@ relay_completion_protocol_name_cb (const void *pointer, void *data,
|
||||
(void) buffer;
|
||||
(void) completion_item;
|
||||
|
||||
infolist = weechat_infolist_get("irc_server", NULL, NULL);
|
||||
infolist = weechat_infolist_get ("irc_server", NULL, NULL);
|
||||
if (infolist)
|
||||
{
|
||||
while (weechat_infolist_next (infolist))
|
||||
|
||||
@@ -904,9 +904,9 @@ relay_weechat_msg_add_nicklist_buffer (struct t_relay_weechat_msg *msg,
|
||||
relay_weechat_msg_add_pointer (msg, ptr_nick);
|
||||
relay_weechat_msg_add_char (msg, 0); /* group */
|
||||
relay_weechat_msg_add_char (msg,
|
||||
(char)weechat_hdata_integer(ptr_hdata_nick,
|
||||
ptr_nick,
|
||||
"visible"));
|
||||
(char)weechat_hdata_integer (ptr_hdata_nick,
|
||||
ptr_nick,
|
||||
"visible"));
|
||||
relay_weechat_msg_add_int (msg, 0); /* level */
|
||||
relay_weechat_msg_add_string (msg,
|
||||
weechat_hdata_string (ptr_hdata_nick,
|
||||
@@ -932,9 +932,9 @@ relay_weechat_msg_add_nicklist_buffer (struct t_relay_weechat_msg *msg,
|
||||
relay_weechat_msg_add_pointer (msg, ptr_group);
|
||||
relay_weechat_msg_add_char (msg, 1); /* group */
|
||||
relay_weechat_msg_add_char (msg,
|
||||
(char)weechat_hdata_integer(ptr_hdata_group,
|
||||
ptr_group,
|
||||
"visible"));
|
||||
(char)weechat_hdata_integer (ptr_hdata_group,
|
||||
ptr_group,
|
||||
"visible"));
|
||||
relay_weechat_msg_add_int (msg,
|
||||
weechat_hdata_integer (ptr_hdata_group,
|
||||
ptr_group,
|
||||
|
||||
Reference in New Issue
Block a user