Commit 8bfc3d730272e00fb73f73aaea6c18983d3d5201
1 parent
e8ca07f4
Add parentheses around if clause
Showing
1 changed file
with
6 additions
and
1 deletions
src/ctselect/ctselect.cpp
| ... | ... | @@ -353,7 +353,12 @@ void ctselect::save(void) |
| 353 | 353 | // Write header |
| 354 | 354 | if (logTerse()) { |
| 355 | 355 | log << std::endl; |
| 356 | - log.header1("Save observations"); | |
| 356 | + if (m_obs.size() > 1) { | |
| 357 | + log.header1("Save observations"); | |
| 358 | + } | |
| 359 | + else { | |
| 360 | + log.header1("Save observation"); | |
| 361 | + } | |
| 357 | 362 | } |
| 358 | 363 | |
| 359 | 364 | // Case A: Save event file(s) and XML metadata information | ... | ... |