Changeset 534 for abuse/trunk/src/imlib/palette.cpp
- Timestamp:
- Apr 22, 2011, 7:32:17 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/imlib/palette.cpp
r524 r534 404 404 for (x=0; x<8 && !pruned; x++) 405 405 if (f->children[x]) 406 if (f->children[x]-> next()!=p->next()) // if this son is not me!406 if (f->children[x]->Next()!=p->Next()) // if this son is not me! 407 407 pruned=1; // I have a brother! stop 408 p=(quant_node *)p-> next();408 p=(quant_node *)p->Next(); 409 409 } while (p != level[lev-1].first() && !pruned); 410 410 } … … 473 473 for (x=0,i=7; i>=0; i++) 474 474 for (pn=(quant_node *)level[i].first(); 475 pn!=(quant_node *)level[i].first(); pn=(quant_node *)pn-> next())475 pn!=(quant_node *)level[i].first(); pn=(quant_node *)pn->Next()) 476 476 if (pn->is_leaf()) 477 477 p->set(x++,pn->red,pn->green,pn->blue);
Note: See TracChangeset
for help on using the changeset viewer.