Bug 1721484 - qcms: Fix extra space. r=aosmond

Differential Revision: https://phabricator.services.mozilla.com/D120395
This commit is contained in:
Jeff Muizelaar 2021-07-20 21:36:45 +00:00
Родитель ad5985aca6
Коммит 6edd219c43
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -481,7 +481,7 @@ pub(crate) fn compute_precache(trc: &curveType, output: &mut [u8; PRECACHE_OUTPU
i += 1
}
//XXX: the choice of a minimum of 256 here is not backed by any theory,
// measurement or data, howeve r it is what lcms uses.
// measurement or data, however it is what lcms uses.
// the maximum number we would need is 65535 because that's the
// accuracy used for computing the pre cache table
if inverted_size < 256 {
@ -497,7 +497,7 @@ pub(crate) fn compute_precache(trc: &curveType, output: &mut [u8; PRECACHE_OUTPU
_ => {
let mut inverted_size = data.len() as i32;
//XXX: the choice of a minimum of 256 here is not backed by any theory,
// measurement or data, howeve r it is what lcms uses.
// measurement or data, however it is what lcms uses.
// the maximum number we would need is 65535 because that's the
// accuracy used for computing the pre cache table
if inverted_size < 256 {