Re: range_list_foreach_full

On Tue, Oct 23, 2001 at 03:02:58PM -0600, Andreas J. Guelzow wrote:
Since I don't want to break something major, I don't want to fix 
something I believe to be an error:

In ranges.c in the code for range_list_foreach_full we have:

       a = value->v_range.cell.a;
       b = value->v_range.cell.b;

       for (col = a.col; col <= b.col; col++)
           for (row = a.row; row < b.row; row++){

looks like an ancient bug.  Although frankly that entire routine
scares me.  I don't see how it can handle relative references.
Thankfully there are not many callers, so we can fix things.

I'll take care of it.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]