IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2005, 3:00:59 PM (21 years ago)
Author:
eugene
Message:

cleanup errors caught by Wall,Werror

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa/graph/LoadObject.c

    r2473 r4769  
    4343 
    4444  /* force valid ranges */
    45   if ((layout[0].objects[N].color > NGRAPHCOLORS) || (layout[0].objects[N].color < 0))
     45  if ((layout[0].objects[N].color > GetColormapSize()) || (layout[0].objects[N].color < 0))
    4646    layout[0].objects[N].color = 0;
    4747
     
    182182}
    183183
    184 FreeObjectData (Gobjects *object) {
     184void FreeObjectData (Gobjects *object) {
    185185
    186186  if (object[0].x != (float *) NULL) free (object[0].x);
Note: See TracChangeset for help on using the changeset viewer.