소스 검색

J. Westervelt: fix for bug https://trac.osgeo.org/grass/ticket/1712

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53101 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 12 년 전
부모
커밋
5c20732a75
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      imagery/i.class/main.c

+ 1 - 1
imagery/i.class/main.c

@@ -278,11 +278,11 @@ static int check_files(char *img_group, char *img_subgroup,
 	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 =