Explorar el Código

r.stream.extract

G_find_raster -> G_find_raster2 (see #3854)
Markus Metz hace 6 años
padre
commit
21989ba806
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      raster/r.stream.extract/main.c

+ 3 - 3
raster/r.stream.extract/main.c

@@ -169,16 +169,16 @@ int main(int argc, char *argv[])
     /***********************/
 
     /* input maps exist ? */
-    if (!G_find_raster(input.ele->answer, ""))
+    if (!G_find_raster2(input.ele->answer, ""))
 	G_fatal_error(_("Raster map <%s> not found"), input.ele->answer);
 
     if (input.acc->answer) {
-	if (!G_find_raster(input.acc->answer, ""))
+	if (!G_find_raster2(input.acc->answer, ""))
 	    G_fatal_error(_("Raster map <%s> not found"), input.acc->answer);
     }
 
     if (input.depression->answer) {
-	if (!G_find_raster(input.depression->answer, ""))
+	if (!G_find_raster2(input.depression->answer, ""))
 	    G_fatal_error(_("Raster map <%s> not found"), input.depression->answer);
 	have_depressions = 1;
     }