summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
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 {