sync
This commit is contained in:
parent
c03d9440cb
commit
19e50fc058
@ -2183,7 +2183,7 @@ vips_object_set_from_string( VipsObject *object, const char *string )
|
||||
/* Does string start with a bracket? If it doesn't, enclose the whole
|
||||
* thing in [].
|
||||
*/
|
||||
if( !(q = vips__token_get( buffer, &token, str, VIPS_PATH_MAX )) !!
|
||||
if( !(q = vips__token_get( buffer, &token, str, VIPS_PATH_MAX )) ||
|
||||
token != VIPS_TOKEN_LEFT )
|
||||
vips_snprintf( buffer, VIPS_PATH_MAX, "[%s]", string );
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user