Changeset 5505 for trunk/psastro/src/psastroUtils.c
- Timestamp:
- Nov 11, 2005, 7:28:01 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroUtils.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroUtils.c
r5360 r5505 14 14 // how many lines in the header? 15 15 // XXX EAM : is this calculation robust? 16 nLines = header->list->n;16 nLines = myHeader->list->n; 17 17 nBytes = nLines * 80; 18 18 if (nBytes % 2880) { … … 39 39 sscanf (line, "%lf %lf %lf %lf", &X, &Y, &Mag, &dMag); 40 40 41 pmAstromObj *obj = pmAstromObjAlloc (X, Y, Mag, dMag); 41 pmAstromObj *obj = pmAstromObjAlloc (); 42 obj->pix.X = X; 43 obj->pix.Y = Y; 44 obj->pix.Mag = Mag; 45 obj->pix.dMag = dMag; 42 46 psArrayAdd (stars, obj, 100); 43 47 }
Note:
See TracChangeset
for help on using the changeset viewer.
