Mercurial > hg
comparison mcabber/src/screen.c @ 325:ff6fb51bfd78
Handle "error" message type
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 16 Jul 2005 13:27:00 +0100 |
parents | da138cdebf04 |
children | 83d129adde03 |
comparison
equal
deleted
inserted
replaced
324:c981455284d5 | 325:ff6fb51bfd78 |
---|---|
327 if (line->flags & HBB_PREFIX_IN) | 327 if (line->flags & HBB_PREFIX_IN) |
328 dir = '<'; | 328 dir = '<'; |
329 else if (line->flags & HBB_PREFIX_OUT) | 329 else if (line->flags & HBB_PREFIX_OUT) |
330 dir = '>'; | 330 dir = '>'; |
331 wprintw(win_entry->win, "%.11s *%c* ", date, dir); | 331 wprintw(win_entry->win, "%.11s *%c* ", date, dir); |
332 } else if (line->flags & HBB_PREFIX_ERR) { | |
333 char dir = '#'; | |
334 if (line->flags & HBB_PREFIX_IN) | |
335 dir = '<'; | |
336 else if (line->flags & HBB_PREFIX_OUT) | |
337 dir = '>'; | |
338 wprintw(win_entry->win, "%.11s #%c# ", date, dir); | |
332 } else if (line->flags & HBB_PREFIX_IN) | 339 } else if (line->flags & HBB_PREFIX_IN) |
333 wprintw(win_entry->win, "%.11s <== ", date); | 340 wprintw(win_entry->win, "%.11s <== ", date); |
334 else if (line->flags & HBB_PREFIX_OUT) | 341 else if (line->flags & HBB_PREFIX_OUT) |
335 wprintw(win_entry->win, "%.11s --> ", date); | 342 wprintw(win_entry->win, "%.11s --> ", date); |
336 else { | 343 else { |