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/PSObjects.c

    r2473 r4769  
    9090int PSObjects (Layout *layout, FILE *f) {
    9191 
    92   int i, ltype;
     92  int i;
    9393  double lweight;
    9494  static char dash[] = "5";
     
    111111    lweight = MAX (0, MIN (10, layout[0].objects[i].lweight));
    112112    fprintf (f, "%.1f setlinewidth\n", lweight);
    113     fprintf (f, "%s setrgbcolor\n", GRAPHCOLORS[layout[0].objects[i].color][1]);
     113    fprintf (f, "%s setrgbcolor\n", GetRGBString(layout[0].objects[i].color));
    114114
    115115    switch (layout[0].objects[i].style) {
     
    134134    fprintf (f, "0.00 0.00 0.00 setrgbcolor\n");
    135135  }
     136  return (TRUE);
    136137}
    137138
Note: See TracChangeset for help on using the changeset viewer.