r17386 - gnucash/branches/2.2/src/gnome-utils - [r17327] Bug #470656, bug #502646: Prevent the GNCDateEdit control from crashing GnuCash.

Andreas Köhler andi5 at cvs.gnucash.org
Tue Jul 22 18:33:59 EDT 2008


Author: andi5
Date: 2008-07-22 18:33:58 -0400 (Tue, 22 Jul 2008)
New Revision: 17386
Trac: http://svn.gnucash.org/trac/changeset/17386

Modified:
   gnucash/branches/2.2/src/gnome-utils/gnc-date-edit.c
Log:
[r17327] Bug #470656, bug #502646: Prevent the GNCDateEdit control from crashing GnuCash.

If an invalid date is entered (i.e. a date not supported by time_t) then
the date reverts to the last valid date entered or, as a last resort,
the beginning of the current day.

Committed by cedayiv.




More information about the gnucash-patches mailing list