From 30c3fa9d987db1059cf90f6a4c52518569788eda Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 16 Aug 2007 13:54:15 +0000 Subject: Code cleanup: renamed some constants and variables (prefix added) --- src/common/fifo.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/common/fifo.c') diff --git a/src/common/fifo.c b/src/common/fifo.c index 9bf69c688..9a6f50e77 100644 --- a/src/common/fifo.c +++ b/src/common/fifo.c @@ -113,12 +113,12 @@ fifo_exec (char *text) pos_msg = text + 1; if (gui_current_window->buffer->has_input) { - ptr_server = SERVER(gui_current_window->buffer); - ptr_channel = CHANNEL(gui_current_window->buffer); + ptr_server = GUI_SERVER(gui_current_window->buffer); + ptr_channel = GUI_CHANNEL(gui_current_window->buffer); } else { - ptr_server = SERVER(gui_buffers); + ptr_server = GUI_SERVER(gui_buffers); ptr_channel = NULL; } } @@ -127,7 +127,7 @@ fifo_exec (char *text) pos_msg = strstr (text, " *"); if (!pos_msg) { - irc_display_prefix (NULL, NULL, PREFIX_ERROR); + irc_display_prefix (NULL, NULL, GUI_PREFIX_ERROR); gui_printf (NULL, _("%s invalid text received on FIFO pipe\n"), WEECHAT_WARNING); return; @@ -149,7 +149,7 @@ fifo_exec (char *text) ptr_server = irc_server_search (text); if (!ptr_server || !ptr_server->buffer) { - irc_display_prefix (NULL, NULL, PREFIX_ERROR); + irc_display_prefix (NULL, NULL, GUI_PREFIX_ERROR); gui_printf (NULL, _("%s server \"%s\" not found (FIFO pipe data)\n"), WEECHAT_WARNING, text); return; @@ -159,7 +159,7 @@ fifo_exec (char *text) ptr_channel = irc_channel_search_any (ptr_server, pos + 1); if (!ptr_channel) { - irc_display_prefix (NULL, NULL, PREFIX_ERROR); + irc_display_prefix (NULL, NULL, GUI_PREFIX_ERROR); gui_printf (NULL, _("%s channel \"%s\" not found (FIFO pipe data)\n"), WEECHAT_WARNING, pos + 1); -- cgit v1.2.3