2011-01-14 [pawel] 3.7.8cvs35
authorPaweł Pękala <c0rn@gazeta.pl>
Fri, 14 Jan 2011 22:18:40 +0000 (22:18 +0000)
committerPaweł Pękala <c0rn@gazeta.pl>
Fri, 14 Jan 2011 22:18:40 +0000 (22:18 +0000)
* src/textview.c
strncpy2() NULLify strings just fine, no need to be
extra "clever"

ChangeLog
PATCHSETS
configure.ac
src/textview.c

index b8e2cd1..de499dc 100644 (file)
--- 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
index 0c2f46a..f169cc7 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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
index 25991a9..7ad7718 100644 (file)
@@ -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=
 
index 5419874..f1c1e8c 100644 (file)
@@ -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);