From b79555cc7f05fd479e1b364ed1ccb1e2a32c5f3c Mon Sep 17 00:00:00 2001
From: Antoine Regimbeau <antoine.regimbeau@c-s.fr>
Date: Fri, 26 Jan 2018 16:13:48 +0100
Subject: [PATCH] BUG: mantis 1508 fix a typo

---
 Modules/Applications/AppImageUtils/app/otbExtractROI.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Modules/Applications/AppImageUtils/app/otbExtractROI.cxx b/Modules/Applications/AppImageUtils/app/otbExtractROI.cxx
index 0378a7024a..bd6a8d1583 100644
--- a/Modules/Applications/AppImageUtils/app/otbExtractROI.cxx
+++ b/Modules/Applications/AppImageUtils/app/otbExtractROI.cxx
@@ -729,7 +729,7 @@ private:
         urp_in[ 0 ] = ulx ;
         urp_in[ 1 ] = lry ;
         llp_in[ 0 ] = lrx ; 
-        llp_in[ 1 ] = ulx ;
+        llp_in[ 1 ] = uly ;
         lrp_in[ 0 ] = lrx ;
         lrp_in[ 1 ] = lry ;
         ulp_out = rsTransform->TransformPoint(ulp_in);
-- 
GitLab