/[weechat]/weechat/src/gui/curses/gui-display.c
ViewVC logotype

Diff of /weechat/src/gui/curses/gui-display.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.77 by flashcode, Tue Feb 22 21:48:27 2005 UTC revision 1.78 by flashcode, Tue Feb 22 22:31:57 2005 UTC
# Line 1010  gui_draw_buffer_status (t_gui_buffer *bu Line 1010  gui_draw_buffer_status (t_gui_buffer *bu
1010              else              else
1011                  wprintw (ptr_win->win_status, "%s",                  wprintw (ptr_win->win_status, "%s",
1012                           CHANNEL(ptr_win->buffer)->name);                           CHANNEL(ptr_win->buffer)->name);
1013              if (ptr_win->buffer == CHANNEL(ptr_win->buffer)->buffer)              if ((ptr_win->buffer == CHANNEL(ptr_win->buffer)->buffer)
1014                    && (CHANNEL(ptr_win->buffer)->type == CHAT_CHANNEL))
1015              {              {
1016                  /* display channel modes */                  /* display channel modes */
1017                    gui_window_set_color (ptr_win->win_status,
1018                                          COLOR_WIN_STATUS_DELIMITERS);
1019                  wprintw (ptr_win->win_status, "(");                  wprintw (ptr_win->win_status, "(");
1020                    gui_window_set_color (ptr_win->win_status,
1021                                          COLOR_WIN_STATUS);
1022                  i = 0;                  i = 0;
1023                  first_mode = 1;                  first_mode = 1;
1024                  while (CHANNEL(ptr_win->buffer)->modes[i])                  while (CHANNEL(ptr_win->buffer)->modes[i])
# Line 1036  gui_draw_buffer_status (t_gui_buffer *bu Line 1041  gui_draw_buffer_status (t_gui_buffer *bu
1041                  if (CHANNEL(ptr_win->buffer)->modes[CHANNEL_MODE_LIMIT] != ' ')                  if (CHANNEL(ptr_win->buffer)->modes[CHANNEL_MODE_LIMIT] != ' ')
1042                      wprintw (ptr_win->win_status, ",%d",                      wprintw (ptr_win->win_status, ",%d",
1043                               CHANNEL(ptr_win->buffer)->limit);                               CHANNEL(ptr_win->buffer)->limit);
1044                    gui_window_set_color (ptr_win->win_status,
1045                                          COLOR_WIN_STATUS_DELIMITERS);
1046                  wprintw (ptr_win->win_status, ")");                  wprintw (ptr_win->win_status, ")");
1047                    gui_window_set_color (ptr_win->win_status,
1048                                          COLOR_WIN_STATUS);
1049              }              }
1050              wprintw (ptr_win->win_status, " ");              wprintw (ptr_win->win_status, " ");
1051          }          }

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26