[GRASS-SVN] r53101 - grass/trunk/imagery/i.class

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 5 17:26:15 PDT 2012


Author: neteler
Date: 2012-09-05 17:26:14 -0700 (Wed, 05 Sep 2012)
New Revision: 53101

Modified:
   grass/trunk/imagery/i.class/main.c
Log:
J. Westervelt: fix for bug #1712

Modified: grass/trunk/imagery/i.class/main.c
===================================================================
--- grass/trunk/imagery/i.class/main.c	2012-09-06 00:26:03 UTC (rev 53100)
+++ grass/trunk/imagery/i.class/main.c	2012-09-06 00:26:14 UTC (rev 53101)
@@ -278,11 +278,11 @@
 	G_fatal_error(_("Unable to open output signature file '%s'"),
 		      out_sig);
 
+    I_init_signatures(&Sigs, Refer.nfiles);
     if (in_sig) {
 	FILE *insig_fd;
 
 	G_message(_("\nSEED SIGNATURES"));
-	I_init_signatures(&Sigs, Refer.nfiles);
 
 	if (!
 	    (insig_fd =



More information about the grass-commit mailing list