IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 14, 2010, 2:07:33 PM (16 years ago)
Author:
eugene
Message:

clip lines for pt 100 (contours) on edge of plot; fix significant digits for axis and axis strlen; make consistent box & image regardless of -imtool setting, both with and without image or graph; add element to GraphWidget to note existence of a plot (graph may be non NULL and plot may not be defined); update png_jmpbuf code to avoid deprecated element of png struture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/Ohana/src/kapa2/src/PNGit.c

    r27600 r29410  
    1515  png_structp png_ptr;
    1616  png_infop info_ptr;
    17   int Npalette;
     17  int status, Npalette;
    1818  char filename[1024];
    1919  bDrawBuffer *buffer = NULL;
     
    4747  }
    4848
    49   if (setjmp (png_ptr[0].jmpbuf)) {
     49#ifdef png_jmpbuf
     50  status = setjmp(png_jmpbuf(png_ptr));
     51# else
     52  status = setjmp (png_ptr[0].jmpbuf);
     53# endif
     54
     55  if (status) {
    5056    fprintf (stderr, "can't get png return\n");
    5157    png_destroy_write_struct (&png_ptr, &info_ptr);
Note: See TracChangeset for help on using the changeset viewer.