IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2007, 9:59:02 AM (19 years ago)
Author:
eugene
Message:

various fixes to support Mac OS X

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/ReadImageHeader.c

    r12732 r12840  
    2424  image[0].NY = Ny;
    2525
    26   if (!gfits_scan (header, "TZERO",   "%d",  1, &image[0].tzero)) {
     26  if (!gfits_scan (header, "TZERO",   "%d",  1, &image[0].tzero) && !ACCEPT_TIME) {
    2727    image[0].tzero = parse_time (header);
    2828  }
     
    155155
    156156  /* find expected number of stars */
    157   if (!gfits_scan (header, "NSTARS", "%d", 1, &image[0].nstar)) {
     157  if (!gfits_scan (header, "NSTARS", "%d", 1, &image[0].nstar) && !NO_STARS) {
    158158    fprintf (stderr, "can't get NSTARS from header\n");
    159159    return (FALSE);
Note: See TracChangeset for help on using the changeset viewer.