Ticket #122 (closed defect: fixed)
g.region should not duplicate the code of G3d_regionToCellHead ()
|Reported by:||1gray||Owned by:||grass-dev@…|
Currently, g.region/main.c includes almost the same code that's already available as the G3d_regionToCellHead () function.
Hence, I suggest the following change:
general/g.region/main.c (main): Use `G3d_regionToCellHead' instead of copying the fields directly.
An (untested) patch is attached.