From 7940077cb76c19acb1fe841c3702519c43627b8d Mon Sep 17 00:00:00 2001
From: Cyrille Valladeau <cyrille.valladeau@c-s.fr>
Date: Tue, 1 Sep 2009 19:01:21 +0200
Subject: [PATCH] STYLE : supress \n in error message

---
 Common/otbMsgReporter.cxx | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Common/otbMsgReporter.cxx b/Common/otbMsgReporter.cxx
index aed4fdd38b..f956acbb38 100644
--- a/Common/otbMsgReporter.cxx
+++ b/Common/otbMsgReporter.cxx
@@ -75,7 +75,6 @@ MsgReporter
 ::SendMsg(const std::string & msg)
 {
   this->textArea->insert(msg.c_str());
-  this->textArea->insert("\n");
   this->textArea->show_insert_position();
   Fl::check();
 }
@@ -87,7 +86,6 @@ MsgReporter
 {
   this->textArea->insert("ERROR: ");
   this->textArea->insert(msg.c_str());
-  this->textArea->insert("\n");
   this->textArea->show_insert_position();
   this->Show();
   Fl::check();
-- 
GitLab