On Tue, 2001-09-25 at 19:05, Gerrit P. Haase wrote:
> Something here is wrong (choose.cc, line 796):
> cat->name stays always at "Shells":
>
> for (Category *cat = pkg->category; cat; cat = cat->next)
> {
> /* insert the package under this category in the list. If this category is
>not
> visible, add it */
> int n=0;
> while (n < nlines)
> {
> /* this should be a generic call to list_sort_cmp */
> if (lines[n].get_category ()
> && cat->name == lines[n].get_category ()->name)
> {
insert_under (n, line);
strange. ok, well how about this then...
- n++;
+ n = nlines;
}
> n++;
> }
> if (n == nlines)
> {
> /* the category wasn't visible - insert at the end */
> insert_category (cat, CATEGORY_COLLAPSED);
> insert_pkg (pkg);
> }
> }
>
>
- RE: new 'temp' directory in CVS cinstall contains ... Gerrit P. Haase
- RE: new 'temp' directory in CVS cinstall contains depen... Gerrit P. Haase
- Re: new 'temp' directory in CVS cinstall contains ... Robert Collins
- Re: new 'temp' directory in CVS cinstall contains depen... Robert Collins
- Re: new 'temp' directory in CVS cinstall contains depen... Christopher Faylor
- Re: new 'temp' directory in CVS cinstall contains ... Robert Collins
- Re: new 'temp' directory in CVS cinstall contains ... Charles Wilson
- Re: new 'temp' directory in CVS cinstall contains depen... Jason Tishler
- Re: new 'temp' directory in CVS cinstall contains ... Christopher Faylor
- Re: new 'temp' directory in CVS cinstall contains depen... Gerrit P. Haase
- Robert Collins
