diff options
author | Dawid Gajownik <gajownik@gmail.com> | 2015-08-06 17:12:19 -0300 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-08-07 12:01:22 -0700 |
commit | 74a635b1ecf5efa437b5c8dc194a45528ce959ce (patch) | |
tree | 7fc0f88638e9906f9a93cb83f5a2689f434af4f6 /ivi-shell/ivi-shell.c | |
parent | 5e653caa4a45a313a968a6a52437c0c382dc8b34 (diff) | |
download | weston-74a635b1ecf5efa437b5c8dc194a45528ce959ce.tar.gz weston-74a635b1ecf5efa437b5c8dc194a45528ce959ce.tar.bz2 weston-74a635b1ecf5efa437b5c8dc194a45528ce959ce.zip |
Coding style fixes
- opening braces are on the same line as the if statement
- opening braces are not on the same line as the function name
- space between for/while/if and opening parenthesis
Signed-off-by: Dawid Gajownik <gajownik@gmail.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Diffstat (limited to 'ivi-shell/ivi-shell.c')
-rw-r--r-- | ivi-shell/ivi-shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 808e4262..17207057 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c @@ -235,7 +235,7 @@ application_surface_create(struct wl_client *client, layout_surface = ivi_layout_surface_create(weston_surface, id_surface); /* check if id_ivi is already used for wl_surface*/ - if (layout_surface == NULL){ + if (layout_surface == NULL) { wl_resource_post_error(resource, IVI_APPLICATION_ERROR_IVI_ID, "surface_id is already assigned " |