This commit is contained in:
John Cupitt 2022-11-28 10:29:47 +00:00
parent cbfbeb6e2d
commit 697311bc9f
1 changed files with 1 additions and 1 deletions

View File

@ -1171,7 +1171,7 @@ transform_g_string_array_double( const GValue *src_value, GValue *dest_value )
i = 0;
for( p = str; (q = vips_break_token( p, "\t; " )); p = q ) {
if( !vips_strtod( p, &array[i] ) ) {
if( vips_strtod( p, &array[i] ) ) {
/* Set array to length zero to indicate an error.
*/
vips_value_set_array_double( dest_value, NULL, 0 );