/[weechat]/weechat/src/gui/gui-common.c
ViewVC logotype

Diff of /weechat/src/gui/gui-common.c

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

revision 1.67 by flashcode, Tue Nov 22 13:43:55 2005 UTC revision 1.68 by flashcode, Tue Nov 22 23:38:33 2005 UTC
# Line 856  gui_printf_internal (t_gui_buffer *buffe Line 856  gui_printf_internal (t_gui_buffer *buffe
856          seconds = time (NULL);          seconds = time (NULL);
857          date_tmp = localtime (&seconds);          date_tmp = localtime (&seconds);
858                    
859          pos = buf2 - 1;          pos = buf2;
860          while (pos)          while (pos)
861          {          {
862              if ((!buffer->last_line) || (buffer->line_complete))              if ((!buffer->last_line) || (buffer->line_complete))
# Line 923  gui_printf_internal (t_gui_buffer *buffe Line 923  gui_printf_internal (t_gui_buffer *buffe
923                  }                  }
924                  gui_add_to_line (buffer, MSG_TYPE_TIME, " ");                  gui_add_to_line (buffer, MSG_TYPE_TIME, " ");
925              }              }
926              gui_add_to_line (buffer, type, pos + 1);              gui_add_to_line (buffer, type, pos);
927              pos = strchr (pos + 1, '\n');              pos = strchr (pos, '\n');
928              if (pos && !pos[1])              if (pos)
929                  pos = NULL;              {
930                    if (!pos[1])
931                        pos = NULL;
932                    else
933                        pos++;
934                }
935          }          }
936      }      }
937      else      else

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

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