Index: trunk/psModules/src/objects/pmSourceContour.c
===================================================================
--- trunk/psModules/src/objects/pmSourceContour.c	(revision 15562)
+++ trunk/psModules/src/objects/pmSourceContour.c	(revision 15619)
@@ -6,6 +6,6 @@
  *  @author EAM, IfA: significant modifications.
  *
- *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-11-10 01:09:20 $
+ *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-11-14 22:15:42 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -220,27 +220,29 @@
 psArray *pmSourceContour (psImage *image, int xc, int yc, float threshold)
 {
+    psTrace("psModules.objects", 3, "---- %s() begin ----\n", __func__);
     PS_ASSERT_PTR_NON_NULL(image, NULL);
 
     int xR, yR, x0, x1, x0s, x1s;
-
-    psTrace("psModules.objects", 3, "---- %s() begin ----\n", __func__);
-    PS_ASSERT_PTR_NON_NULL(image, false);
-
     int x = xc - image->col0;
     int y = yc - image->row0;
 
     // the requested point must be within the contour
-    if (image->data.F32[y][x] < threshold)
+    if (image->data.F32[y][x] < threshold) {
         return NULL;
+    }
 
     // Ensure that the starting column is allowable.
-    if (x < 0)
+    if (x < 0) {
         return NULL;
-    if (y < 0)
+    }
+    if (y < 0) {
         return NULL;
-    if (x >= image->numCols)
+    }
+    if (x >= image->numCols) {
         return NULL;
-    if (y >= image->numRows)
+    }
+    if (y >= image->numRows) {
         return NULL;
+    }
 
     // Allocate data for x/y pairs.
