# HG changeset patch # User Sean Egan # Date 1103181774 0 # Node ID de92a8da82c35fcd12be60d323210c06d14222cf # Parent c432b927b0b1356dfd355c6191922c999e65000d [gaim-migrate @ 11617] I forgot the newline. committer: Tailor Script diff -r c432b927b0b1 -r de92a8da82c3 plugins/timestamp.c --- a/plugins/timestamp.c Thu Dec 16 05:34:34 2004 +0000 +++ b/plugins/timestamp.c Thu Dec 16 07:22:54 2004 +0000 @@ -46,7 +46,7 @@ GaimConversation *c = (GaimConversation *)data; GaimGtkConversation *conv = GAIM_GTK_CONVERSATION(c); GtkTextIter iter; - char mdate[6]; + char mdate[7]; int is_conversation_active; time_t tim = time(NULL); @@ -60,7 +60,7 @@ GtkTextBuffer *buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(conv->imhtml)); gtk_text_buffer_get_end_iter(buffer, &iter); gaim_conversation_set_data(c, "timestamp-conv-active", GINT_TO_POINTER(FALSE)); - strftime(mdate, sizeof(mdate), "%H:%M", localtime(&tim)); + strftime(mdate, sizeof(mdate), "\n%H:%M", localtime(&tim)); gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, mdate, strlen(mdate), "TIMESTAMP", NULL); } else