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/gui/gtk/gui-gtk-input.c | |
parent | 0c8867c9e3aa41c37c4dbb9045b8b6bf3cfa746b (diff) | |
download | weechat-30c3fa9d987db1059cf90f6a4c52518569788eda.zip |
Code cleanup: renamed some constants and variables (prefix added)
Diffstat (limited to 'src/gui/gtk/gui-gtk-input.c')
-rw-r--r-- | src/gui/gtk/gui-gtk-input.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/gtk/gui-gtk-input.c b/src/gui/gtk/gui-gtk-input.c index 67345ca1f..30c7c9318 100644 --- a/src/gui/gtk/gui-gtk-input.c +++ b/src/gui/gtk/gui-gtk-input.c @@ -71,20 +71,20 @@ gui_input_get_prompt_length (t_gui_window *window, char *nick) switch (pos[0]) { case 'c': - if (CHANNEL(window->buffer)) - length += utf8_strlen (CHANNEL(window->buffer)->name); + if (GUI_CHANNEL(window->buffer)) + length += utf8_strlen (GUI_CHANNEL(window->buffer)->name); else { - if (SERVER(window->buffer)) - length += utf8_strlen (SERVER(window->buffer)->name); + if (GUI_SERVER(window->buffer)) + length += utf8_strlen (GUI_SERVER(window->buffer)->name); } pos++; break; case 'm': - if (SERVER(window->buffer)) + if (GUI_SERVER(window->buffer)) { mode_found = 0; - for (modes = SERVER(window->buffer)->nick_modes; + for (modes = GUI_SERVER(window->buffer)->nick_modes; modes && modes[0]; modes++) { if (modes[0] != ' ') |