diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-08-16 13:54:15 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-08-16 13:54:15 +0000 |
commit | 30c3fa9d987db1059cf90f6a4c52518569788eda (patch) | |
tree | 1977d855bebfc1ccf4485594ba486da1bd56376f /src/common/fifo.c | |
parent | 0c8867c9e3aa41c37c4dbb9045b8b6bf3cfa746b (diff) | |
download | weechat-30c3fa9d987db1059cf90f6a4c52518569788eda.zip |
Code cleanup: renamed some constants and variables (prefix added)
Diffstat (limited to 'src/common/fifo.c')
-rw-r--r-- | src/common/fifo.c | 12 |
1 files changed, 6 insertions, 6 deletions
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); |