Opened 14 years ago

Closed 14 years ago

#122 closed defect (fixed)

g.region should not duplicate the code of G3d_regionToCellHead ()

Reported by: 1gray Owned by: grass-dev@…
Priority: trivial Milestone: 6.4.0
Component: Default Version: svn-trunk
Keywords: Cc:
CPU: Unspecified Platform: Unspecified


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.

Attachments (1)

g.region-2008-04-01.patch (890 bytes) - added by 1gray 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by 1gray

Attachment: g.region-2008-04-01.patch added

comment:1 Changed 14 years ago by neteler

If it works, consider to submit. Folks often just test once present in SVN.


comment:2 Changed 14 years ago by neteler

Resolution: fixed
Status: newclosed

Applied to trunk.


Note: See TracTickets for help on using tickets.