* ecore: fix ecore_fb build.

SVN revision: 53303
This commit is contained in:
Cedric BAIL 2010-10-12 11:49:18 +00:00
parent 6193b5e91d
commit 21b78d18b3
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ error_open:
EAPI void
ecore_fb_input_device_close(Ecore_Fb_Input_Device *dev)
{
if (!fd) return;
if (!dev || dev->fd < 0) return;
/* close the fd */
close(dev->fd);
/* remove the element from the list */