From 8bfc3d730272e00fb73f73aaea6c18983d3d5201 Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Mon, 30 Jan 2012 15:34:32 +0000 Subject: [PATCH] Add parentheses around if clause --- src/ctselect/ctselect.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ctselect/ctselect.cpp b/src/ctselect/ctselect.cpp index 6e8d009..4bb4deb 100644 --- a/src/ctselect/ctselect.cpp +++ b/src/ctselect/ctselect.cpp @@ -353,7 +353,12 @@ void ctselect::save(void) // Write header if (logTerse()) { log << std::endl; - log.header1("Save observations"); + if (m_obs.size() > 1) { + log.header1("Save observations"); + } + else { + log.header1("Save observation"); + } } // Case A: Save event file(s) and XML metadata information -- libgit2 0.21.4