From 7bf29561e6e1e148d43e4a494c321e4682eae78d Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 27 Jan 2015 10:34:34 -0500 Subject: [PATCH] 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 --- src/lib/ecore_x/xcb/ecore_xcb_e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_x/xcb/ecore_xcb_e.c b/src/lib/ecore_x/xcb/ecore_xcb_e.c index aef6540b12..313954b5c6 100644 --- a/src/lib/ecore_x/xcb/ecore_xcb_e.c +++ b/src/lib/ecore_x/xcb/ecore_xcb_e.c @@ -2131,7 +2131,7 @@ ecore_x_e_window_rotation_available_rotations_get(Ecore_X_Window win, val = calloc(num, sizeof(int)); if (!val) { - *counter = 0; + *count = 0; if (data) free(data); return EINA_FALSE; }