X-Git-Url: https://git.danieliu.xyz/?p=smdp.git;a=blobdiff_plain;f=src%2Fviewer.c;h=a05f42c1b2b71e3cbb0098aa422b5d6ee77a2fa1;hp=0021e794dfc1ae0de32f38e5fb46c727ca5fc441;hb=5710ef6220df0b0cbfbef73bc1b8a0b12031d02b;hpb=3e6d7001c4058b93281645e72ad1e223280b8589 diff --git a/src/viewer.c b/src/viewer.c index 0021e79..a05f42c 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)