diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2016-01-23 16:07:02 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2016-01-23 16:07:02 +0100 |
commit | fc987674dd92a50687d970b02e072fff19391175 (patch) | |
tree | 2f7e08559553d6cf3270830ea370abd1a69b08f9 /src/main.c | |
parent | 62fa041f865cb3593e07b2caa514b61e266e851e (diff) | |
download | 0xFFFF-fc987674dd92a50687d970b02e072fff19391175.tar.bz2 |
all: Code style fixes
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 { |