diff Core/Images/IImageWriter.cpp @ 2139:764c9157301b

cleaning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 15:25:09 +0100
parents bfeacb51af20
children aa4b8895cd23
line wrap: on
line diff
--- a/Core/Images/IImageWriter.cpp	Wed Nov 09 15:18:03 2016 +0100
+++ b/Core/Images/IImageWriter.cpp	Wed Nov 09 15:25:09 2016 +0100
@@ -44,7 +44,7 @@
                                          PixelFormat format,
                                          const void* buffer)
   {
-#if !defined(ORTHANC_SANDBOXED) || ORTHANC_SANDBOXED != 1
+#if ORTHANC_SANDBOXED == 0
     std::string compressed;
     WriteToMemoryInternal(compressed, width, height, pitch, format, buffer);
     Toolbox::WriteFile(compressed, path);