mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
2002-09-15 Joshua Sled <jsled@asynchronous.org>
* src/gnome-utils/gnc-dense-cal.c (gnc_dense_cal_mark): Fix assertion failure for ignorant callers, Bug#92779. Thanks, Tim. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7215 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
1d7c0414b0
commit
06bdfcf68d
@ -1,3 +1,8 @@
|
||||
2002-09-15 Joshua Sled <jsled@asynchronous.org>
|
||||
|
||||
* src/gnome-utils/gnc-dense-cal.c (gnc_dense_cal_mark): Fix
|
||||
assertion failure for ignorant callers, Bug#92779.
|
||||
|
||||
2002-09-14 David Hampton <hampton@employees.org>
|
||||
|
||||
Refactor the startup to display the splash screen faster (bug #92192)
|
||||
|
@ -1410,8 +1410,12 @@ gnc_dense_cal_mark( GncDenseCal *dcal,
|
||||
if ( doc < 0 ) {
|
||||
continue;
|
||||
}
|
||||
g_assert( doc < dcal->numMarks );
|
||||
dcal->marks[doc] = g_list_append( dcal->marks[doc], newMark );
|
||||
if ( doc >= dcal->numMarks ) {
|
||||
/* It's not going to get any better, so just
|
||||
* stop processing. */
|
||||
break;
|
||||
}
|
||||
|
||||
newMark->ourMarks = g_list_append( newMark->ourMarks,
|
||||
GINT_TO_POINTER(doc) );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user