gnucash maint: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Wed Feb 13 13:47:41 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/f22e30ba (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4c4acb7e (commit)
	from  https://github.com/Gnucash/gnucash/commit/dac94ce0 (commit)



commit f22e30ba9ec8e54f1fa50654ff560cb2c1c4320b
Merge: dac94ce03 4c4acb7e9
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Wed Feb 13 18:47:06 2019 +0100

    Merge branch 'maint' of https://github.com/brentjens/gnucash into maint


commit 4c4acb7e9211dbac3469727b12ef6a05d296ac49
Author: Michiel Brentjens <m.a.brentjens at gmail.com>
Date:   Tue Feb 12 21:50:31 2019 +0100

    Update gnc-tree-view-split-reg.c
    
    gcc version 8.2.1 20181127 (GCC) gave a warning pointing at the problem.

diff --git a/gnucash/gnome-utils/gnc-tree-view-split-reg.c b/gnucash/gnome-utils/gnc-tree-view-split-reg.c
index bd89fb9ec..14e032f81 100644
--- a/gnucash/gnome-utils/gnc-tree-view-split-reg.c
+++ b/gnucash/gnome-utils/gnc-tree-view-split-reg.c
@@ -1512,7 +1512,7 @@ gtv_sr_cdf0 (GtkTreeViewColumn *col, GtkCellRenderer *cell, GtkTreeModel *s_mode
         /* Is this a template */
         if (is_template && is_trow1)
         {
-            strncpy (datebuff,  _(" Scheduled "), sizeof(datebuff));
+            strncpy (datebuff,  _(" Scheduled "), sizeof(datebuff)-1);
             editable = FALSE;
         }
         else if (is_template && is_trow2 && show_extra_dates)



Summary of changes:
 gnucash/gnome-utils/gnc-tree-view-split-reg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list