瀏覽代碼

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 年之前
父節點
當前提交
e2120dfc96
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 <= 0)
 	    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
 	    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 *));