瀏覽代碼

r.clump: fix compilation error

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34826 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 年之前
父節點
當前提交
809b00ff08
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      raster/r.clump/main.c

+ 1 - 1
raster/r.clump/main.c

@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
     if (opt_title->answer != NULL)
 	strcpy(title, opt_title->answer);
     else
-	sprintf(title, "clump of <%s@%s>", name, mapset);
+	sprintf(title, "clump of <%s@%s>", name, G_mapset());
     
     G_put_cell_title(OUTPUT, title);
     G_read_range(OUTPUT, G_mapset(), &range);