emile: make sure given boolean are really boolean.

This commit is contained in:
Cedric BAIL 2015-03-17 08:50:51 +01:00
parent 90d8932a03
commit a446624f5f
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}