Mercurial > hg > orthanc
diff UnitTests/PngWriter.cpp @ 369:4632a044746e
simplification of the code
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 19 Feb 2013 12:09:03 +0100 |
parents | 80011cd589e6 |
children |
line wrap: on
line diff
--- a/UnitTests/PngWriter.cpp Mon Feb 18 16:07:28 2013 +0100 +++ b/UnitTests/PngWriter.cpp Tue Feb 19 12:09:03 2013 +0100 @@ -50,9 +50,10 @@ Orthanc::PngWriter w; int width = 256; int height = 256; - int pitch = width * 2 + 17; + int pitch = width * 2 + 16; std::vector<uint8_t> image(height * pitch); + int v = 0; for (int y = 0; y < height; y++) {