[Commits] [SCM] claws branch, master, updated. 3.15.0-3-g8819feb

ticho at claws-mail.org ticho at claws-mail.org
Mon Mar 27 21:03:35 CEST 2017


The branch, master has been updated
       via  8819febec59e3d5421b0cd4d7882d6524c375bcf (commit)
      from  c3972c4f02a4514efd54f8a0f82ac80fd3ce31e5 (commit)

Summary of changes:
 src/textview.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 8819febec59e3d5421b0cd4d7882d6524c375bcf
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Mon Mar 27 21:02:37 2017 +0200

    Fix an off-by-one error in textview's quote unfolding.

diff --git a/src/textview.c b/src/textview.c
index 7372a1c..1ecaebc 100644
--- a/src/textview.c
+++ b/src/textview.c
@@ -2706,7 +2706,7 @@ static void textview_toggle_quote(TextView *textview, GSList *start_list, Clicka
 		gtk_text_buffer_get_iter_at_offset(buffer, &start, uri->start);
 		gtk_text_buffer_insert_with_tags_by_name
 				(buffer, &start, (gchar *)uri->data, 
-				 strlen((gchar *)uri->data)-1,
+				 uri->data_len,
 				 "qlink", (gchar *)uri->fg_color, NULL);
 		uri->end = gtk_text_iter_get_offset(&start);
 		textview_make_clickable_parts_later(textview,

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list