[Gnucash-changes] Line wrapping fixes from Chris Shoemaker.
David Hampton
hampton at cvs.gnucash.org
Fri Oct 14 09:04:57 EDT 2005
Log Message:
-----------
Line wrapping fixes from Chris Shoemaker.
Tags:
----
gnucash-gnome2-dev
Modified Files:
--------------
gnucash/src/engine:
FreqSpec.c
Revision Data
-------------
Index: FreqSpec.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/FreqSpec.c,v
retrieving revision 1.28.4.11
retrieving revision 1.28.4.12
diff -Lsrc/engine/FreqSpec.c -Lsrc/engine/FreqSpec.c -u -r1.28.4.11 -r1.28.4.12
--- src/engine/FreqSpec.c
+++ src/engine/FreqSpec.c
@@ -378,14 +378,15 @@
wday_of_1st = g_date_get_weekday( &date1 );
/* This calculates the day of the month in the month which forms
* the next month in the cycle after the given input date.
- * However, this day may be larger than the number of days in that month... */
+ * However, this day may be larger than the number of days in
+ * that month... */
day_of_repeat = (fs->s.month_relative.occurrence-1)*7 +
((fs->s.month_relative.weekday + 7 - wday_of_1st)%7 + 1);
while( day_of_repeat > g_date_days_in_month( month, year ) ) {
- /* If the repeat occurs after the end of the month, then
- * find the next month containing a day which satisfies the request.
- * Each candiate month separated by interval_months is considered
- * by this loop.*/
+ /* If the repeat occurs after the end of the month, then find
+ * the next month containing a day which satisfies the
+ * request. Each candiate month separated by interval_months
+ * is considered by this loop.*/
++complete_intervals;
next_repeat_months_from_epoch =
fs->s.month_relative.offset_from_epoch +
More information about the gnucash-changes
mailing list