emile: make sure given boolean are really boolean.
This commit is contained in:
parent
90d8932a03
commit
a446624f5f
|
@ -2213,6 +2213,7 @@ _emile_image_bind(Emile_Image *ei,
|
|||
if (opts)
|
||||
{
|
||||
ei->opts = *opts;
|
||||
ei->opts.orientation = !!ei->opts.orientation;
|
||||
ei->load_opts = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue