[CpmlPrimitive] Avoid redundant code in cpml_primitive_reset()
commit51da9be8f25950212b3877e0ea636862447a5da1
authorNicola Fontana <ntd@entidi.it>
Tue, 19 Jan 2010 18:25:27 +0000 (19 19:25 +0100)
committerNicola Fontana <ntd@entidi.it>
Tue, 19 Jan 2010 18:25:27 +0000 (19 19:25 +0100)
tree26010e83bda17e5f733d389a71535f6974342bbe
parent2c34aa73ba338eefa3d4c8cef959669d58478342
[CpmlPrimitive] Avoid redundant code in cpml_primitive_reset()

Use cpml_primitive_from_segment() instead of duplicating the code, these
functions do the same job.
cpml/cpml-primitive.c