r23729 - gnucash/trunk/src/libqof/qof - Fix typo from r23726
John Ralls
jralls at code.gnucash.org
Mon Jan 20 11:12:48 EST 2014
Author: jralls
Date: 2014-01-20 11:12:47 -0500 (Mon, 20 Jan 2014)
New Revision: 23729
Trac: http://svn.gnucash.org/trac/changeset/23729
Modified:
gnucash/trunk/src/libqof/qof/gnc-date.c
Log:
Fix typo from r23726
Thanks to Lorenz Hübscle-Schneider for finding it.
Modified: gnucash/trunk/src/libqof/qof/gnc-date.c
===================================================================
--- gnucash/trunk/src/libqof/qof/gnc-date.c 2014-01-20 06:36:01 UTC (rev 23728)
+++ gnucash/trunk/src/libqof/qof/gnc-date.c 2014-01-20 16:12:47 UTC (rev 23729)
@@ -399,7 +399,7 @@
* so clamp year into GDateTime's range.
*/
if (year < 0) year = -year;
- if (year > 9999) year % 10000;
+ if (year > 9999) year %= 10000;
normalize_time_component (&(time->tm_sec), &(time->tm_min), 60, 0);
normalize_time_component (&(time->tm_min), &(time->tm_hour), 60, 0);
More information about the gnucash-changes
mailing list