mcabber/src/screen.c
changeset 197 c289e3c39c48
parent 196 58eb8ad9ef74
child 220 8dfdc6f1778e
--- a/mcabber/src/screen.c	Sat May 07 06:34:47 2005 +0000
+++ b/mcabber/src/screen.c	Sat May 07 07:33:10 2005 +0000
@@ -295,12 +295,17 @@
         strftime(date, 35, "%m-%d %H:%M", localtime(&line->timestamp));
       } else
         strcpy(date, "           ");
-      if (line->flags & HBB_PREFIX_IN)
+      if (line->flags & HBB_PREFIX_INFO) {
+        char dir = '*';
+        if (line->flags & HBB_PREFIX_IN)
+          dir = '<';
+        else if (line->flags & HBB_PREFIX_OUT)
+          dir = '>';
+        wprintw(win_entry->win, "%.11s *%c* ", date, dir);
+      } else if (line->flags & HBB_PREFIX_IN)
         wprintw(win_entry->win, "%.11s <== ", date);
       else if (line->flags & HBB_PREFIX_OUT)
         wprintw(win_entry->win, "%.11s --> ", date);
-      else if (line->flags & HBB_PREFIX_INFO)
-        wprintw(win_entry->win, "%.11s *** ", date);
       else {
         wprintw(win_entry->win, "%.11s     ", date);
       }