diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-08-28 13:29:18 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-08-28 13:29:18 +0100 |
| commit | b53b9f3aa0603d4b4d4be23dc40ad25b4d082e20 (patch) | |
| tree | 48a7cf63690e57e71ea672a52d7718962eac7b80 | |
| parent | e4042b767869c0438b61fdbfac1534cd4937da10 (diff) | |
Fix copy and paste error in previous commit.
| -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); |
