summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2016-01-23 16:07:02 +0100
committerPali Rohár <pali.rohar@gmail.com>2016-01-23 16:07:02 +0100
commitfc987674dd92a50687d970b02e072fff19391175 (patch)
tree2f7e08559553d6cf3270830ea370abd1a69b08f9 /src/main.c
parent62fa041f865cb3593e07b2caa514b61e266e851e (diff)
download0xFFFF-fc987674dd92a50687d970b02e072fff19391175.tar.bz2
all: Code style fixes
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 5 insertions, 5 deletions
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 {