Mercurial > pidgin.yaz
changeset 10390:de92a8da82c3
[gaim-migrate @ 11617]
I forgot the newline.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 16 Dec 2004 07:22:54 +0000 |
parents | c432b927b0b1 |
children | 38256d3e8324 |
files | plugins/timestamp.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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