talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 63a82b4caf919efcd49c5d967975735c7d31e74a
parent 3b52684b7ce9a75f2ea84103617b83d554ebbd06
Author: Paweł Pękala <c0rn@gazeta.pl>
Date:   Fri, 14 Jan 2011 22:18:40 +0000

2011-01-14 [pawel]	3.7.8cvs35

	* src/textview.c
		strncpy2() NULLify strings just fine, no need to be
		extra "clever"

Diffstat:
MChangeLog | 6++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/textview.c | 4++--
4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2011-01-14 [pawel] 3.7.8cvs35 + + * src/textview.c + strncpy2() NULLify strings just fine, no need to be + extra "clever" + 2011-01-14 [pawel] 3.7.8cvs34 * src/textview.c diff --git a/PATCHSETS b/PATCHSETS @@ -4108,3 +4108,4 @@ ( cvs diff -u -r 1.14.2.74 -r 1.14.2.75 src/plugins/trayicon/trayicon.c; ) > 3.7.8cvs32.patchset ( cvs diff -u -r 1.105.2.161 -r 1.105.2.162 src/prefs_account.c; cvs diff -u -r 1.52.2.79 -r 1.52.2.80 src/prefs_folder_item.c; cvs diff -u -r 1.1.2.32 -r 1.1.2.33 src/prefs_quote.c; cvs diff -u -r 1.8.2.42 -r 1.8.2.43 src/quote_fmt.c; ) > 3.7.8cvs33.patchset ( cvs diff -u -r 1.96.2.227 -r 1.96.2.228 src/textview.c; ) > 3.7.8cvs34.patchset +( cvs diff -u -r 1.96.2.228 -r 1.96.2.229 src/textview.c; ) > 3.7.8cvs35.patchset diff --git a/configure.ac b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=7 MICRO_VERSION=8 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=34 +EXTRA_VERSION=35 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/textview.c b/src/textview.c @@ -2179,9 +2179,9 @@ static void textview_show_header(TextView *textview, GPtrArray *headers) unfold_line(header->body); if (procheader_headername_equal(header->name, "Date")) { - gchar hbody[81]; + gchar hbody[80]; - procheader_date_parse(hbody, header->body, sizeof(hbody)-1); + procheader_date_parse(hbody, header->body, sizeof(hbody)); gtk_text_buffer_get_end_iter (buffer, &iter); gtk_text_buffer_insert_with_tags_by_name (buffer, &iter, hbody, -1, "header", NULL);