Skip to content

Commit

Permalink
Update gnc-tree-view-split-reg.c
Browse files Browse the repository at this point in the history
gcc version 8.2.1 20181127 (GCC) gave a warning pointing at the problem.
  • Loading branch information
brentjens committed Feb 12, 2019
1 parent bfadfd7 commit 4c4acb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnucash/gnome-utils/gnc-tree-view-split-reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4c4acb7

Please sign in to comment.