Skip to content

Commit

Permalink
r.stream.extract
Browse files Browse the repository at this point in the history
G_find_raster -> G_find_raster2 (see #3854)
  • Loading branch information
metzm committed May 28, 2019
1 parent 74c4486 commit fece82b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions raster/r.stream.extract/main.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit fece82b

Please sign in to comment.