X-Git-Url: https://git.danieliu.xyz/?p=smdp.git;a=blobdiff_plain;f=src%2Fviewer.c;h=d1588d03dd24b1a881838505238b789ba612581d;hp=a05f42c1b2b71e3cbb0098aa422b5d6ee77a2fa1;hb=69352838d7b0be27074840a0d2d1e2cf294dcec3;hpb=74f513ce239ec8958b399bde423fa9fa2ae5c3b4 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)