projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1574f0
)
CIE: fix some wrong src/dst increments, issue #22
author
Massimo Valentini
<mvalentini@src.gnome.org>
Wed, 3 Oct 2018 10:38:28 +0000
(12:38 +0200)
committer
Øyvind Kolås
<pippin@gimp.org>
Wed, 3 Oct 2018 11:22:23 +0000
(13:22 +0200)
extensions/CIE.c
patch
|
blob
|
history
diff --git
a/extensions/CIE.c
b/extensions/CIE.c
index 1c8b70c9fee42058c2a0991e40c6ccc4a55146ed..2f8c868ddc40092e4c351f2adcf52e8377fe61a3 100644
(file)
--- a/
extensions/CIE.c
+++ b/
extensions/CIE.c
@@
-567,7
+567,7
@@
rgbaf_to_xyYf (const Babl *conversion,
dst[2] = Y;
src += 4;
- dst +=
4
;
+ dst +=
3
;
}
}
@@
-744,7
+744,7
@@
xyYf_to_rgbaf (const Babl *conversion,
dst[2] = b;
dst[3] = 1.0f;
- src +=
4
;
+ src +=
3
;
dst += 4;
}
}