Ignore:
Timestamp:
Apr 22, 2011, 7:32:17 PM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: remove a lot of dead code, especially from the linked list and
the WAV reader.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/palette.cpp

    r524 r534  
    404404    for (x=0; x<8 && !pruned; x++)
    405405      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!
    407407        pruned=1;                   //  I have a brother! stop
    408        p=(quant_node *)p->next();
     408       p=(quant_node *)p->Next();
    409409      } while (p != level[lev-1].first() && !pruned);
    410410    }
     
    473473  for (x=0,i=7; i>=0; i++)
    474474    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())
    476476      if (pn->is_leaf())
    477477    p->set(x++,pn->red,pn->green,pn->blue);
Note: See TracChangeset for help on using the changeset viewer.