Ticket #122 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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:
Platform: CPU:

Description

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

g.region-2008-04-01.patch Download (0.9 KB) - added by 1gray 5 years ago.

Change History

Changed 5 years ago by 1gray

Changed 5 years ago by neteler

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

Markus

Changed 5 years ago by neteler

  • status changed from new to closed
  • resolution set to fixed

Applied to trunk.

Markus

Note: See TracTickets for help on using tickets.