forked from enlightenment/efl
ecore-x: Fix build error in xcb
Summary: If we do not get the property we are looking for here, then reset the Proper variable to 0. This fixes a build break. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
c466fc7d53
commit
7bf29561e6
|
@ -2131,7 +2131,7 @@ ecore_x_e_window_rotation_available_rotations_get(Ecore_X_Window win,
|
||||||
val = calloc(num, sizeof(int));
|
val = calloc(num, sizeof(int));
|
||||||
if (!val)
|
if (!val)
|
||||||
{
|
{
|
||||||
*counter = 0;
|
*count = 0;
|
||||||
if (data) free(data);
|
if (data) free(data);
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue