forked from enlightenment/efl
ecore-drm: fix improper conditional syntax in _ecore_drm_tty_switch()
This commit is contained in:
parent
3d71a10891
commit
3a3552ec66
|
@ -44,9 +44,7 @@ _ecore_drm_tty_cb_vt_signal(void *data, int type EINA_UNUSED, void *event)
|
||||||
Eina_Bool
|
Eina_Bool
|
||||||
_ecore_drm_tty_switch(Ecore_Drm_Device *dev, int activate_vt)
|
_ecore_drm_tty_switch(Ecore_Drm_Device *dev, int activate_vt)
|
||||||
{
|
{
|
||||||
if (!ioctl(dev->tty.fd, VT_ACTIVATE, activate_vt) < 0)
|
return ioctl(dev->tty.fd, VT_ACTIVATE, activate_vt) >= 0;
|
||||||
return EINA_FALSE;
|
|
||||||
return EINA_TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
|
|
Loading…
Reference in New Issue