From 6c57529f5aad1c283b17762ad12732ee7dc103b5 Mon Sep 17 00:00:00 2001
From: Thomas Feuvrier <thomas.feuvrier@c-s.fr>
Date: Wed, 22 Mar 2006 14:01:30 +0000
Subject: [PATCH] FA 00005 : lecture image Envi Multi bande

---
 Code/IO/otbGDALImageIO.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Code/IO/otbGDALImageIO.cxx b/Code/IO/otbGDALImageIO.cxx
index 4877d55216..ea0576257b 100755
--- a/Code/IO/otbGDALImageIO.cxx
+++ b/Code/IO/otbGDALImageIO.cxx
@@ -335,7 +335,8 @@ void GDALImageIO::InternalReadImageInformation()
       {
       SetComponentType(INT);
       }
-    else if((m_PxType == GDT_Float32) || (m_PxType = GDT_CFloat32) )
+// OTB-FA-00005-CS
+    else if((m_PxType == GDT_Float32) || (m_PxType == GDT_CFloat32) )
       {
       SetComponentType(FLOAT);
       }
-- 
GitLab