wl_desktop_shell: cosmetic codes again to follow EFL coding conventions. 06/66306/1
authorGwanglim Lee <gl77.lee@samsung.com>
Mon, 18 Apr 2016 08:49:09 +0000 (17:49 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Mon, 18 Apr 2016 08:49:09 +0000 (17:49 +0900)
Change-Id: I6e1d75ae479e3a17bc01920c2bf0385a13e8d1ac

src/modules/wl_desktop_shell/e_mod_main.c

index 5355cbfdbcf6eb112ab5562da7dfd048a00916ee..e1ac63a7f3397cf47ec2a1be3fbc8ac29819bebb 100644 (file)
@@ -595,13 +595,13 @@ _e_shell_cb_shell_surface_get(struct wl_client *client, struct wl_resource *reso
 static void
 _e_xdg_surface_state_add(struct wl_resource *resource, struct wl_array *states, uint32_t state)
 {
-  uint32_t *s;
+   uint32_t *s;
 
    s = wl_array_add(states, sizeof(*s));
-  if (s)
-    *s = state;
-  else
-    wl_resource_post_no_memory(resource);
+   if (s)
+     *s = state;
+   else
+     wl_resource_post_no_memory(resource);
 }
 
 static void
@@ -869,7 +869,7 @@ _e_xdg_shell_surface_cb_window_geometry_set(struct wl_client *client EINA_UNUSED
    if (!ec)
      {
         wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT,
-                                "No Client For Shell Surface");
+                               "No Client For Shell Surface");
         return;
      }
    EINA_RECTANGLE_SET(&ec->comp_data->shell.window, x, y, w, h);