Jelajahi Sumber

i.maxlik: added missing arguments for format string

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52490 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 13 tahun lalu
induk
melakukan
e2120dfc96
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      imagery/i.maxlik/open.c

+ 2 - 2
imagery/i.maxlik/open.c

@@ -25,10 +25,10 @@ int open_files(void)
     if (Ref.nfiles <= 1) {
     if (Ref.nfiles <= 1) {
 	if (Ref.nfiles <= 0)
 	if (Ref.nfiles <= 0)
 	    G_fatal_error(_("Subgroup <%s> of group <%s> doesn't have any raster maps. "
 	    G_fatal_error(_("Subgroup <%s> of group <%s> doesn't have any raster maps. "
-			    "The subgroup must have at least 2 raster maps."));
+			    "The subgroup must have at least 2 raster maps."), subgroup, group);
 	else
 	else
 	    G_fatal_error(_("Subgroup <%s> of group <%s> only has 1 raster map. "
 	    G_fatal_error(_("Subgroup <%s> of group <%s> only has 1 raster map. "
-			    "The subgroup must have at least 2 raster maps."));
+			    "The subgroup must have at least 2 raster maps."), subgroup, group);
     }
     }
 
 
     cell = (DCELL **) G_malloc(Ref.nfiles * sizeof(DCELL *));
     cell = (DCELL **) G_malloc(Ref.nfiles * sizeof(DCELL *));