From: Michael Göhler Date: Sat, 6 Feb 2016 21:57:05 +0000 (+0100) Subject: fixed code indent issue, closes #96 X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=2ee89b63451a530c88ad705d6a99ea19e993f3a5;p=smdp.git fixed code indent issue, closes #96 --- diff --git a/src/parser.c b/src/parser.c index f0d4ed3..cbe46b1 100644 --- a/src/parser.c +++ b/src/parser.c @@ -600,7 +600,7 @@ void markdown_debug(deck_t *deck, int debug) { void adjust_line_length(line_t *line) { int l = 0; const static wchar_t *special = L"\\*_`"; // list of interpreted chars - const wchar_t *c = &line->text->value[line->offset]; + const wchar_t *c = &line->text->value[0]; cstack_t *stack = cstack_init(); // for each char in line