disp2lab oops

This commit is contained in:
John Cupitt 2009-12-14 14:17:22 +00:00
parent df1dc08bac
commit 811565afd3
2 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,7 @@
because mmap windows are freed when their regions are freed
- have a min bytes for mmap windows as well, so we don't make too many tiny
windows
- im_disp2Lab() was broken
26/11/09 started 7.20.3
- updated en_GB.po translation

View File

@ -2,6 +2,8 @@
*
* 28/10/09
* - from colour.c
* 14/12/09
* - oop, im_disp2Lab() was broken
*/
/*
@ -621,7 +623,7 @@ im_disp2Lab( IMAGE *in, IMAGE *out, struct im_col_display *d )
if( im_open_local_array( out, t, 1, "im_disp2Lab:1", "p" ) ||
im_disp2XYZ( in, t[0], d ) ||
im_XYZ2Lab( t[1], out ) )
im_XYZ2Lab( t[0], out ) )
return( -1 );
return( 0 );