File oiio_gcc6_missleading_indentation.patch of Package OpenImageIO

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

Index: src/dpx.imageio/libdpx/Writer.cpp
===================================================================
--- src/dpx.imageio/libdpx/Writer.cpp.orig	2017-03-31 09:14:21.850540237 +0200
+++ src/dpx.imageio/libdpx/Writer.cpp	2017-03-31 09:16:22.031055455 +0200
@@ -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);
 }
 
 
openSUSE Build Service is sponsored by