[Commits] [SCM] claws branch, master, updated. 3.14.1-109-g37b65a4

wwp at claws-mail.org wwp at claws-mail.org
Tue Jan 10 09:37:12 CET 2017


The branch, master has been updated
       via  37b65a4db70b26267deb1842081f7b64df15de55 (commit)
      from  0b238a22d6a19f34672bc8a7efb66e171398acad (commit)

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


- Log -----------------------------------------------------------------
commit 37b65a4db70b26267deb1842081f7b64df15de55
Author: wwp <wwp at free.fr>
Date:   Tue Jan 10 09:36:31 2017 +0100

    Real fix for Coverity 1372362.

diff --git a/src/plugins/vcalendar/day-view.c b/src/plugins/vcalendar/day-view.c
index 553dc8f..061da42 100644
--- a/src/plugins/vcalendar/day-view.c
+++ b/src/plugins/vcalendar/day-view.c
@@ -240,7 +240,7 @@ static void dw_summary_selected(GtkCMCTree *ctree, GtkCMCTreeNode *row,
 				localtime_r(&t_start, &tm_start);
 				if (tm_start.tm_hour > 2)
 					gtk_adjustment_set_value(v_adj, 
-						((v_adj->upper-v_adj->page_size)/(gdouble)(24/(tm_start.tm_hour-2))));
+						((v_adj->upper-v_adj->page_size)/((gdouble)24/(gdouble)(tm_start.tm_hour-2))));
 				else
 					gtk_adjustment_set_value(v_adj, 0);
 				gtk_adjustment_changed(v_adj);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list