From f0ac66c8f92a778d157002f2417c546c81e5ffd0 Mon Sep 17 00:00:00 2001
From: Otmane Lahlou <otmane.lahlou@c-s.fr>
Date: Tue, 10 Jul 2012 15:38:20 +0200
Subject: [PATCH] BUG: buggy left asymptote

---
 Code/Visualization/otbHistogramActionHandler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Code/Visualization/otbHistogramActionHandler.h b/Code/Visualization/otbHistogramActionHandler.h
index d95792c58c..57ee8e100e 100644
--- a/Code/Visualization/otbHistogramActionHandler.h
+++ b/Code/Visualization/otbHistogramActionHandler.h
@@ -152,7 +152,7 @@ public:
             if (newRightAbcisse > m_LeftAsymptote->GetAbcisse()
                 &&  newRightAbcisse <  m_MaximumAbcisse)
               {
-              m_RightAsymptote->SetAbcisse(newRightAbcisse + tx);
+              m_RightAsymptote->SetAbcisse(newRightAbcisse);
               m_Curve->redraw();
               
               //  Update The Rendering Function min and max
-- 
GitLab