Am Samstag, 18. Januar 2014, 16:50:22 schrieb John Ralls: > Author: jralls > Date: 2014-01-18 16:50:21 -0500 (Sat, 18 Jan 2014) > New Revision: 23706 > Trac: http://svn.gnucash.org/trac/changeset/23706 > > Modified: > gnucash/trunk/src/register/ledger-core/split-register-model.c > Log: > Bug 721791 - Segmentation fault when correcting invalid date > > And greatly simplify gnc_split_register_get_date_help by just getting a > GDate and running g_date_strftime on it instead of messing around with > Timespecs and g_localtime_r (twice!) and all of that just to make a stupid > string.
Thanks for fixing the bug! Note that the functions for using the GDate are still relatively new in gnucash. That's why in most cases they are not (yet) being used, even though they are more suitable and less error-prone and better altogether :-) Regards, Christian _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
