From 3630703e06300feed3ede96174e544a1982a5afd Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Sun, 17 Jun 2018 10:39:34 +0200 Subject: [PATCH] sadf: Clean code Properly align code. Signed-off-by: Sebastien GODARD --- sadf_misc.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sadf_misc.c b/sadf_misc.c index eb51266..e8ab8df 100644 --- a/sadf_misc.c +++ b/sadf_misc.c @@ -966,17 +966,17 @@ __printf_funct_t print_svg_header(void *parm, int action, char *dfile, if (DISPLAY_TOC(flags)) { for (i = 0; i < NR_ACT; i++) { if (!id_seq[i]) - continue; + continue; /* Activity not in file */ - p = get_activity_position(act, id_seq[i], EXIT_IF_NOT_FOUND); - if (!IS_SELECTED(act[p]->options) || !act[p]->g_nr) - continue; + p = get_activity_position(act, id_seq[i], EXIT_IF_NOT_FOUND); + if (!IS_SELECTED(act[p]->options) || !act[p]->g_nr) + continue; /* Activity not selected or no graph available */ - printf("\n", - act[p]->id, act[p]->name); - printf("%s\n", - SVG_H_YSIZE + ht, act[p]->desc); - ht += SVG_C_YSIZE; + printf("\n", + act[p]->id, act[p]->name); + printf("%s\n", + SVG_H_YSIZE + ht, act[p]->desc); + ht += SVG_C_YSIZE; } } } -- 2.40.0