From 6007e467f6985bb1a6aa97eef6091a2450dab102 Mon Sep 17 00:00:00 2001
From: ctraizet <cedric.traizet@c-s.fr>
Date: Mon, 11 Mar 2019 11:34:36 +0100
Subject: [PATCH] DOC: typo and more doc

---
 .../Core/Common/include/otbStandardOneLineFilterWatcher.h   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Modules/Core/Common/include/otbStandardOneLineFilterWatcher.h b/Modules/Core/Common/include/otbStandardOneLineFilterWatcher.h
index 9b49904d56..329e78b5cb 100644
--- a/Modules/Core/Common/include/otbStandardOneLineFilterWatcher.h
+++ b/Modules/Core/Common/include/otbStandardOneLineFilterWatcher.h
@@ -99,13 +99,17 @@ protected:
 
 private:
 
-  /** Stars coutning */
+  /** Stars counting */
   int m_StarsCount;
 
+  /** Current number of stars, we keep track of this to avoid reprinting the
+   * progress if it hasn't changed */
   int m_CurrentNbStars;
 
   bool m_CoutIsConsole;
 
+  /** If the output is not interactive (e.g. it is redirected to a file), it
+   * is buffered and only written at the end of the processing */
   std::string m_Buffer;
   
   /** The point to the callback used for printing. It is set to the default
-- 
GitLab