|
@@ -178,9 +178,8 @@ int main(int argc, char **argv)
|
|
|
|
|
|
if (type & GV_LINES)
|
|
|
nlines++;
|
|
|
-
|
|
|
- /* copy points to output as they are, with cats */
|
|
|
- if (type & GV_POINTS) {
|
|
|
+ else {
|
|
|
+ /* copy points to output as they are, with cats */
|
|
|
Vect_read_line(&map, points, Cats, line);
|
|
|
Vect_write_line(&Out, type, points, Cats);
|
|
|
continue;
|