pinosaur
/
smdp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74f513c
)
fixed coding style
author
Michael Göhler
<somebody.here@gmx.de>
Tue, 27 Oct 2015 23:37:39 +0000
(
00:37
+0100)
committer
Michael Göhler
<somebody.here@gmx.de>
Tue, 27 Oct 2015 23:37:39 +0000
(
00:37
+0100)
src/viewer.c
patch
|
blob
|
history
diff --git
a/src/viewer.c
b/src/viewer.c
index
a05f42c
..
d1588d0
100644
(file)
--- 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)