forked from enlightenment/efl
return true on SUCCESSS, not failure.
SVN revision: 70251
This commit is contained in:
parent
5fe0a937c3
commit
30c3219c41
|
@ -1425,7 +1425,7 @@ ecore_x_pointer_mapping_set(unsigned char *map,
|
|||
int nmap)
|
||||
{
|
||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||
return XSetPointerMapping(_ecore_x_disp, map, nmap) ? EINA_TRUE : EINA_FALSE;
|
||||
return (XSetPointerMapping(_ecore_x_disp, map, nmap) == MappingSuccess) ? EINA_TRUE : EINA_FALSE;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
|
|
Loading…
Reference in New Issue