vips7compat missed old enum names
oops, ==0 missing from a strcmp()
This commit is contained in:
parent
8cc0d033ea
commit
122c697349
@ -1,5 +1,6 @@
|
|||||||
26/7/11 started 7.26.1
|
26/7/11 started 7.26.1
|
||||||
- doc fixups
|
- doc fixups
|
||||||
|
- oops, ==0 missing from a strcmp() in vips7compat
|
||||||
|
|
||||||
26/7/11 started 7.26.0
|
26/7/11 started 7.26.0
|
||||||
- version bunp for 7.26
|
- version bunp for 7.26
|
||||||
|
@ -318,7 +318,7 @@ lookup_enum( GType type, const char *names[], const char *name )
|
|||||||
return( value->value );
|
return( value->value );
|
||||||
|
|
||||||
for( i = 0; names[i]; i++ )
|
for( i = 0; names[i]; i++ )
|
||||||
if( strcasecmp( names[i], name ) )
|
if( strcasecmp( names[i], name ) == 0 )
|
||||||
return( i );
|
return( i );
|
||||||
|
|
||||||
return( -1 );
|
return( -1 );
|
||||||
|
Loading…
Reference in New Issue
Block a user