Index: /trunk/psLib/src/types/psArguments.c
===================================================================
--- /trunk/psLib/src/types/psArguments.c	(revision 7020)
+++ /trunk/psLib/src/types/psArguments.c	(revision 7021)
@@ -7,6 +7,6 @@
  *  @author David Robbins, MHPCC
  *
- *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-01-23 23:52:15 $
+ *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-05-01 21:23:15 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -300,6 +300,7 @@
         // Only doing a representative set of types
     case PS_DATA_S32:
-        return arg->data.S32 >= 0 ? (int)log10f((float)arg->data.S32) + 1 :
-               (int)log10f(-(float)arg->data.S32) + 2;
+        return arg->data.S32 == 0 ? 1 :
+               (arg->data.S32 > 0 ? (int)log10f((float)arg->data.S32) + 1 :
+                (int)log10f(-(float)arg->data.S32) + 2);
         // XXX: Other numerical types
     case PS_DATA_F32:
