diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-11 13:52:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-11 13:52:39 +0100 |
| commit | 07931370047752c51c54f91a77cef13320de267c (patch) | |
| tree | 02728276b4551769d446a5ba92c0db9daf3df5fa /src | |
| parent | e4d623e3cf92ba2f35094841d2c6015a43c29e17 (diff) | |
Fix possible assert failure.
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 08a4e838..a52d4f70 100644 --- a/src/rgb_xyz.cc +++ b/src/rgb_xyz.cc @@ -295,7 +295,7 @@ dcp::rgb_to_xyz ( } } - if (clamped) { + if (clamped && note) { note.get() (DCP_NOTE, String::compose ("%1 XYZ value(s) clamped", clamped)); } |
