mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Eliminate a runtime error message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6873 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
cd00dc6f53
commit
a78904819c
@ -622,6 +622,9 @@ gnc_handle_date_accelerator (GdkEventKey *event,
|
||||
if (event->type != GDK_KEY_PRESS)
|
||||
return FALSE;
|
||||
|
||||
if ((tm->tm_mday == -1) || (tm->tm_mon == -1) || (tm->tm_year == -1))
|
||||
return FALSE;
|
||||
|
||||
g_date_set_dmy (&gdate,
|
||||
tm->tm_mday,
|
||||
tm->tm_mon + 1,
|
||||
|
Loading…
Reference in New Issue
Block a user