Index: trunk/psModules/src/objects/pmSourceIO_SX.c
===================================================================
--- trunk/psModules/src/objects/pmSourceIO_SX.c	(revision 8815)
+++ trunk/psModules/src/objects/pmSourceIO_SX.c	(revision 8882)
@@ -3,6 +3,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-09-15 09:49:01 $
+ *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-09-22 12:24:38 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -60,16 +60,16 @@
         // pmSourceSextractType (source, &type, &flags);
 
-        shape.sx  = PAR[4];
-        shape.sy  = PAR[5];
-        shape.sxy = PAR[6];
+        shape.sx  = PAR[PM_PAR_SXX];
+        shape.sy  = PAR[PM_PAR_SYY];
+        shape.sxy = PAR[PM_PAR_SXY];
         axes = psEllipseShapeToAxes (shape);
 
         psLineInit (line);
         psLineAdd (line, "%5.2f",  0.0); // should be type
-        psLineAdd (line, "%11.3f", PAR[2]);
-        psLineAdd (line, "%11.3f", PAR[3]);
+        psLineAdd (line, "%11.3f", PAR[PM_PAR_XPOS]);
+        psLineAdd (line, "%11.3f", PAR[PM_PAR_YPOS]);
         psLineAdd (line, "%9.4f",  source->psfMag);
         psLineAdd (line, "%9.4f",  source->errMag);
-        psLineAdd (line, "%13.4f", PAR[0]);
+        psLineAdd (line, "%13.4f", PAR[PM_PAR_SKY]);
         psLineAdd (line, "%9.2f",  axes.major);
         psLineAdd (line, "%9.2f",  axes.minor);
