oop, rank was not allowing index == 0
the desc for the index param to rank was incorrectly banning index == 0 see https://github.com/jcupitt/libvips/issues/555
This commit is contained in:
parent
bb0a6643f9
commit
4540a2c220
@ -24,6 +24,8 @@
|
|||||||
* - gtk-doc
|
* - gtk-doc
|
||||||
* 17/1/14
|
* 17/1/14
|
||||||
* - redone as a class
|
* - redone as a class
|
||||||
|
* 12/11/16
|
||||||
|
* - oop, allow index == 0, thanks Rob
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -430,7 +432,7 @@ vips_rank_class_init( VipsRankClass *class )
|
|||||||
_( "Select pixel at index" ),
|
_( "Select pixel at index" ),
|
||||||
VIPS_ARGUMENT_REQUIRED_INPUT,
|
VIPS_ARGUMENT_REQUIRED_INPUT,
|
||||||
G_STRUCT_OFFSET( VipsRank, index ),
|
G_STRUCT_OFFSET( VipsRank, index ),
|
||||||
1, 100000000, 50 );
|
0, 100000000, 50 );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user