Skip to content

Commit

Permalink
Use correct *_set_window() function
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38025 15284696-431f-4ddb-bdfa-cd5b030d7da7
  • Loading branch information
glynnc committed Jun 22, 2009
1 parent 25761d3 commit 99bd30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion general/g.setproj/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int main(int argc, char *argv[])
G_fatal_error(_("PERMANENT: permission denied"));
}
G_get_default_window(&cellhd);
if (-1 == Rast_set_window(&cellhd))
if (-1 == G_set_window(&cellhd))
G_fatal_error(_("Current region cannot be set"));

if (G_get_set_window(&cellhd) == -1)
Expand Down

0 comments on commit 99bd30d

Please sign in to comment.