Index: /trunk/psLib/pslib.kdevses
===================================================================
--- /trunk/psLib/pslib.kdevses	(revision 4202)
+++ /trunk/psLib/pslib.kdevses	(revision 4203)
@@ -2,8 +2,26 @@
 <!DOCTYPE KDevPrjSession>
 <KDevPrjSession>
- <DocsAndViews NumberOfDocuments="1" >
+ <DocsAndViews NumberOfDocuments="7" >
   <Doc0 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/dataIO/psFits.h" >
-   <View0 line="242" Type="Source" />
+   <View0 line="243" Type="Source" />
   </Doc0>
+  <Doc1 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/dataIO/psFits.c" >
+   <View0 line="1525" Type="Source" />
+  </Doc1>
+  <Doc2 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/collections/psMetadata.h" >
+   <View0 line="418" Type="Source" />
+  </Doc2>
+  <Doc3 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/dataIO/tst_psFits.c" >
+   <View0 line="123" Type="Source" />
+  </Doc3>
+  <Doc4 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/image/tst_psImageGeomManip.c" >
+   <View0 line="560" Type="Source" />
+  </Doc4>
+  <Doc5 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/image/psImageConvolve.c" >
+   <View0 line="435" Type="Source" />
+  </Doc5>
+  <Doc6 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/image/psImageFFT.c" >
+   <View0 line="413" Type="Source" />
+  </Doc6>
  </DocsAndViews>
  <pluginList>
Index: /trunk/psLib/src/collections/psPixels.c
===================================================================
--- /trunk/psLib/src/collections/psPixels.c	(revision 4202)
+++ /trunk/psLib/src/collections/psPixels.c	(revision 4203)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-08 19:47:19 $
+ *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-09 23:51:49 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -64,5 +64,5 @@
         out->data = NULL;
     }
-    out->n = 0;
+    out->n = size;
     out->nalloc = size;
 
Index: /trunk/psLib/src/types/psPixels.c
===================================================================
--- /trunk/psLib/src/types/psPixels.c	(revision 4202)
+++ /trunk/psLib/src/types/psPixels.c	(revision 4203)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-08 19:47:19 $
+ *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-09 23:51:49 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -64,5 +64,5 @@
         out->data = NULL;
     }
-    out->n = 0;
+    out->n = size;
     out->nalloc = size;
 
Index: /trunk/psLib/test/collections/tst_psPixels.c
===================================================================
--- /trunk/psLib/test/collections/tst_psPixels.c	(revision 4202)
+++ /trunk/psLib/test/collections/tst_psPixels.c	(revision 4203)
@@ -5,7 +5,7 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.6 $
+ *  @version $Revision: 1.7 $
  *           $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-08 19:48:15 $
+ *  @date $Date: 2005-06-09 23:51:49 $
  *
  *  Copyright 2005 Maui High Performance Computing Center, University of Hawaii
@@ -58,5 +58,5 @@
         return 2;
     }
-    if (p0->n != 0) {
+    if (p0->n != p0->nalloc) {
         psError(PS_ERR_UNKNOWN, true,
                 "psPixelsAlloc failed to set n = 0");
@@ -84,7 +84,7 @@
     p1->data[0].y = 2;
 
-    if (p1->n != 0) {
-        psError(PS_ERR_UNKNOWN, true,
-                "psPixelsAlloc failed to set n = 0");
+    if (p1->n != p1->nalloc) {
+        psError(PS_ERR_UNKNOWN, true,
+                "psPixelsAlloc failed to set n = %d", p1->nalloc);
         return 13;
     }
@@ -113,7 +113,7 @@
     }
 
-    if (p2->n != 0) {
-        psError(PS_ERR_UNKNOWN, true,
-                "psPixelsAlloc failed to set n = 0");
+    if (p2->n != p2->nalloc) {
+        psError(PS_ERR_UNKNOWN, true,
+                "psPixelsAlloc failed to set n = %d", p2->nalloc);
         return 13;
     }
@@ -149,5 +149,5 @@
         return 2;
     }
-    if (p0->n != 0) {
+    if (p0->n != p0->nalloc) {
         psError(PS_ERR_UNKNOWN, true,
                 "psPixelsRealloc failed to set n = 0");
