[GRASS-SVN] r53099 - grass/branches/releasebranch_6_4/imagery/i.class

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 5 17:25:50 PDT 2012


Author: neteler
Date: 2012-09-05 17:25:49 -0700 (Wed, 05 Sep 2012)
New Revision: 53099

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

Modified: grass/branches/releasebranch_6_4/imagery/i.class/main.c
===================================================================
--- grass/branches/releasebranch_6_4/imagery/i.class/main.c	2012-09-06 00:20:32 UTC (rev 53098)
+++ grass/branches/releasebranch_6_4/imagery/i.class/main.c	2012-09-06 00:25:49 UTC (rev 53099)
@@ -242,11 +242,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