ecore-x: Fix build error in xcb
authorChris Michael <cp.michael@samsung.com>
Tue, 27 Jan 2015 15:34:34 +0000 (10:34 -0500)
committerChris Michael <cp.michael@samsung.com>
Tue, 27 Jan 2015 16:04:50 +0000 (11:04 -0500)
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>
src/lib/ecore_x/xcb/ecore_xcb_e.c

index aef6540..313954b 100644 (file)
@@ -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;
           }