eng_setup must return 1 on success and 0 on failure

SVN revision: 43248
This commit is contained in:
Vincent Torri 2009-10-24 15:24:11 +00:00
parent ba758fdd47
commit d8c4555c36
1 changed files with 3 additions and 1 deletions

View File

@ -146,11 +146,13 @@ eng_setup(Evas *e, void *in)
0, 0);
re->ob->onebuf = ponebuf;
}
if (!e->engine.data.output) return;
if (!e->engine.data.output) return 0;
if (!e->engine.data.context)
e->engine.data.context = e->engine.func->context_new(e->engine.data.output);
re = e->engine.data.output;
return 1;
}
static void