File oiio_gcc6_missleading_indentation.patch of Package OpenImageIO

---
 src/dpx.imageio/libdpx/Writer.cpp |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Index: oiio-Release-1.7.0dev/src/dpx.imageio/libdpx/Writer.cpp
===================================================================
--- oiio-Release-1.7.0dev.orig/src/dpx.imageio/libdpx/Writer.cpp
+++ oiio-Release-1.7.0dev/src/dpx.imageio/libdpx/Writer.cpp
@@ -208,12 +208,12 @@ bool dpx::Writer::WriteElement(const int
     if (! this->WritePadData(0x2000))
         return false;
 
-	// update file ptr
-	this->header.SetDataOffset(element, this->fileLoc);
-	this->fileLoc += count;
-		
-	// write
-	return (this->fd->Write(data, count) > 0);
+    // update file ptr
+    this->header.SetDataOffset(element, this->fileLoc);
+    this->fileLoc += count;
+
+    // write
+    return (this->fd->Write(data, count) > 0);
 }
 
 
@@ -244,9 +244,9 @@ bool dpx::Writer::WriteElement(const int
 		return false;
 
     // The DPX spec recommends that the image data starts on a 8K boundry.
-    if (! this->WritePadData(0x2000))
+    if (! this->WritePadData(0x2000)) {
         return false;
-
+    }
 	// mark location in headers
 	if (element == 0)
 		this->header.SetImageOffset(this->fileLoc);
openSUSE Build Service is sponsored by