diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2007-08-11 22:27:55 +0200 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2007-08-11 22:27:55 +0200 |
| commit | 50a00beb9598747a3c396088fd4ad311cb6cdf39 (patch) | |
| tree | 47951a7898b148372e594c684ab6a745e8c944f4 /src/GipfelWidget.cxx | |
| parent | bbb6b1845f65fe2d76ac0040e115f66be172961d (diff) | |
don't export duplicates
Diffstat (limited to 'src/GipfelWidget.cxx')
| -rw-r--r-- | src/GipfelWidget.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index e6bed3a..8590b5c 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -735,7 +735,7 @@ GipfelWidget::export_hills(const char *file, FILE *fp) { int _x = (int) rint(m->x) + w() / 2; int _y = (int) rint(m->y) + h() / 2; - if (file && !(m->flags & Hill::EXPORT)) { + if (m->flags & Hill::DUPLICATE || file && !(m->flags & Hill::EXPORT)) { continue; } |
