[GRASS-dev] grass location creation

Jachym Cepicky jachym.cepicky at gmail.com
Fri Mar 9 07:52:18 EST 2007


Ok,

I also added brackets to make it a bit more safer for reading..

thanks

jachym

2007/3/9, Glynn Clements <glynn at gclements.plus.com>:
>
> Jachym Cepicky wrote:
>
> > general/g.region/cmd/main.c:
> >
> > 851         if (flag.savedefault->answer)
> > 852             if (strcmp(G_mapset(),"PERMANENT") == 0)
> > 853                 G__put_window( &window, "../PERMANENT", "DEFAULT_WIND" );
> > 854             else
> > 855                 G_warning(_("You are not in mapset PERMANENT, default region    -> remains untached"));
> >
> > is it sufficient?
>
>   853                 G__put_window( &window, "", "DEFAULT_WIND" );
>
> If you're already in PERMANENT, there's no need for "../PERMANENT".
>
> Otherwise, fine.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>


-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub




More information about the grass-dev mailing list