From: Michael Göhler Date: Tue, 27 Oct 2015 23:37:39 +0000 (+0100) Subject: fixed coding style X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=69352838d7b0be27074840a0d2d1e2cf294dcec3;p=smdp.git fixed coding style --- diff --git a/src/viewer.c b/src/viewer.c index a05f42c..d1588d0 100644 --- a/src/viewer.c +++ b/src/viewer.c @@ -577,10 +577,10 @@ void add_line(WINDOW *window, int y, int x, line_t *line, int max_cols, int colo // IS_CODE if(CHECK_BIT(line->bits, IS_CODE)) { - if (!CHECK_BIT(line->bits, IS_TILDE_CODE)) { - // set static offset for code - offset = CODE_INDENT; - } + if (!CHECK_BIT(line->bits, IS_TILDE_CODE)) { + // set static offset for code + offset = CODE_INDENT; + } // reverse color for code blocks if(colors)