[cig-commits] r5421 - mc/3D/CitcomS/trunk/visual

tan2 at geodynamics.org tan2 at geodynamics.org
Fri Dec 1 20:15:27 PST 2006


Author: tan2
Date: 2006-12-01 20:15:26 -0800 (Fri, 01 Dec 2006)
New Revision: 5421

Modified:
   mc/3D/CitcomS/trunk/visual/h5tovelo.c
Log:
Fixed a bug of counting argc

Modified: mc/3D/CitcomS/trunk/visual/h5tovelo.c
===================================================================
--- mc/3D/CitcomS/trunk/visual/h5tovelo.c	2006-12-02 01:00:36 UTC (rev 5420)
+++ mc/3D/CitcomS/trunk/visual/h5tovelo.c	2006-12-02 04:15:26 UTC (rev 5421)
@@ -90,7 +90,7 @@
      * HDF5 file must be specified as first argument.
      */
 
-    if (argc < 2 || argc > 3)
+    if (argc < 3 || argc > 4)
     {
 	fputs(usage, stderr);
         return EXIT_FAILURE;



More information about the cig-commits mailing list