[Gnucash-changes] r13641 - gnucash/trunk - Add a call to
gnc_tm_set_day_end to correct initial ending balance in
reconcile windows. Tiny comment typo in qof/gnc-date.h.
Andreas Koehler
andi5 at cvs.gnucash.org
Wed Mar 15 15:16:15 EST 2006
Author: andi5
Date: 2006-03-15 15:16:13 -0500 (Wed, 15 Mar 2006)
New Revision: 13641
Trac: http://svn.gnucash.org/trac/changeset/13641
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/lib/libqof/qof/gnc-date.h
gnucash/trunk/src/gnome/window-reconcile.c
Log:
Add a call to gnc_tm_set_day_end to correct initial ending balance in reconcile windows. Tiny comment typo in qof/gnc-date.h.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2006-03-15 17:29:09 UTC (rev 13640)
+++ gnucash/trunk/ChangeLog 2006-03-15 20:16:13 UTC (rev 13641)
@@ -1,3 +1,8 @@
+2006-03-15 Andreas Köhler <andi5.py at gmx.net>
+
+ * src/gnome/window-reconcile.c: Add a call to gnc_tm_set_day_end
+ to correct initial ending balance in reconcile windows.
+
2006-03-15 Derek Atkins <derek at ihtfp.com>
* lib/libqof/backend/file/qsf-backend.c: add <locale.h>
Modified: gnucash/trunk/lib/libqof/qof/gnc-date.h
===================================================================
--- gnucash/trunk/lib/libqof/qof/gnc-date.h 2006-03-15 17:29:09 UTC (rev 13640)
+++ gnucash/trunk/lib/libqof/qof/gnc-date.h 2006-03-15 20:16:13 UTC (rev 13641)
@@ -463,7 +463,7 @@
tm->tm_isdst = -1;
}
-/** The gnc_tm_set_day_start() inline routine will set the appropriate
+/** The gnc_tm_set_day_middle() inline routine will set the appropriate
* fields in the struct tm to indicate noon of that day. This
* routine assumes that the contents of the data structure is already
* in normalized form.*/
@@ -477,7 +477,7 @@
tm->tm_isdst = -1;
}
-/** The gnc_tm_set_day_start() inline routine will set the appropriate
+/** The gnc_tm_set_day_end() inline routine will set the appropriate
* fields in the struct tm to indicate the last second of that day.
* This routine assumes that the contents of the data structure is
* already in normalized form.*/
Modified: gnucash/trunk/src/gnome/window-reconcile.c
===================================================================
--- gnucash/trunk/src/gnome/window-reconcile.c 2006-03-15 17:29:09 UTC (rev 13640)
+++ gnucash/trunk/src/gnome/window-reconcile.c 2006-03-15 20:16:13 UTC (rev 13641)
@@ -1225,6 +1225,7 @@
tm.tm_mday += days;
}
tm.tm_isdst = -1;
+ gnc_tm_set_day_end (&tm);
*statement_date = mktime (&tm);
}
More information about the gnucash-changes
mailing list