Index: trunk/psLib/src/imageops/psImageStructManip.c
===================================================================
--- trunk/psLib/src/imageops/psImageStructManip.c	(revision 4544)
+++ trunk/psLib/src/imageops/psImageStructManip.c	(revision 5057)
@@ -8,6 +8,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-07-12 19:33:49 $
+ *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-09-15 21:22:22 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -91,5 +91,5 @@
 
     // increment the raw data buffer before freeing anything in the 'out'
-    psPtr rawData = psMemIncrRefCounter(image->rawDataBuffer);
+    psPtr rawData = psMemIncrRefCounter(image->p_rawDataBuffer);
 
     if (out != NULL) {
@@ -100,5 +100,5 @@
         }
 
-        psFree(out->rawDataBuffer); // free the previous data reference
+        psFree(out->p_rawDataBuffer); // free the previous data reference
     } else {
         out = psAlloc(sizeof(psImage));
@@ -116,5 +116,5 @@
     out->parent = image;
     out->children = NULL;
-    out->rawDataBuffer = rawData;
+    out->p_rawDataBuffer = rawData;
 
     // set the new psImage's deallocator to the same as the input image
@@ -357,5 +357,5 @@
     psU32 rowSize = elementSize*numCols;
     psU32 colOffset = elementSize * col0;
-    psU8* imageData = image->rawDataBuffer;
+    psU8* imageData = image->p_rawDataBuffer;
     for (psS32 row = row0; row < row1; row++) {
         memmove(imageData,image->data.U8[row] + colOffset,rowSize);
@@ -368,7 +368,7 @@
     // XXX: should I really resize the buffers?
     image->data.V = psRealloc(image->data.V,sizeof(psPtr)*numRows);
-    image->rawDataBuffer = psRealloc(image->rawDataBuffer,rowSize*numRows);
-
-    image->data.V[0] = image->rawDataBuffer;
+    image->p_rawDataBuffer = psRealloc(image->p_rawDataBuffer,rowSize*numRows);
+
+    image->data.V[0] = image->p_rawDataBuffer;
     for (psS32 r = 1; r < numRows; r++) {
         image->data.U8[r] = image->data.U8[r-1] + rowSize;
