From fc987674dd92a50687d970b02e072fff19391175 Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Sat, 23 Jan 2016 16:07:02 +0100 Subject: all: Code style fixes --- src/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index cea36f7..e658f06 100644 --- a/src/main.c +++ b/src/main.c @@ -168,7 +168,7 @@ static void parse_image_arg(char * arg, struct image_list ** image_first) { } layout_file = strchr(arg, '%'); - if (layout_file) + if ( layout_file ) *(layout_file++) = 0; type = NULL; @@ -178,16 +178,16 @@ static void parse_image_arg(char * arg, struct image_list ** image_first) { layout = NULL; file = strrchr(arg, ':'); - if (file) { + if ( file ) { *(file++) = 0; type = strrchr(arg, ':'); - if (type) { + if ( type ) { *(type++) = 0; version = strrchr(arg, ':'); - if (version) { + if ( version ) { *(version++) = 0; hwrevs = strchr(arg, ':'); - if (hwrevs) + if ( hwrevs ) *(hwrevs++) = 0; device = arg; } else { -- cgit v1.2.3