Evas: (wayland): Use Seb's strncmp statement (easier to read, cleaner,

simpler, and possibly faster).

Thanks Seb ;)



SVN revision: 71431
This commit is contained in:
Christopher Michael 2012-05-25 23:51:21 +00:00
parent 909d83bf3a
commit 1fbf92cc36
1 changed files with 1 additions and 2 deletions

View File

@ -1383,8 +1383,7 @@ evas_render_updates_internal(Evas *e,
* NB: This is for the wayland engine(s). If we do not do this, then
* objects will draw outside the viewport and potentially onto the frame
* itself */
if ((!strcmp(e->engine.module->definition->name, "wayland_shm")) ||
(!strcmp(e->engine.module->definition->name, "wayland_egl")))
if (!strncmp(e->engine.module->definition->name, "wayland", 7))
{
Eina_Rectangle clip_rect;