diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rgb_xyz.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgb_xyz.cc b/src/rgb_xyz.cc index 3d8f2451..23c99897 100644 --- a/src/rgb_xyz.cc +++ b/src/rgb_xyz.cc @@ -168,7 +168,7 @@ dcp::xyz_to_rgb ( }; int const height = xyz_image->size().height; - int const width = xyz_image->size().height; + int const width = xyz_image->size().width; for (int y = 0; y < height; ++y) { uint16_t* rgb_line = reinterpret_cast<uint16_t*> (rgb + y * stride); |
