pinosaur
/
smdp.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add line length and make it utf-8 compatible
[smdp.git]
/
markdown.c
diff --git
a/markdown.c
b/markdown.c
index
90219e5
..
0d42005
100644
(file)
--- a/
markdown.c
+++ b/
markdown.c
@@
-8,7
+8,7
@@
line_t *new_line() {
line_t *x = malloc(sizeof(line_t));
x->text = (void*)0;
x->prev = x->next = (void*)0;
line_t *x = malloc(sizeof(line_t));
x->text = (void*)0;
x->prev = x->next = (void*)0;
- x->bits = x->offset = 0;
+ x->bits = x->
length = x->
offset = 0;
return x;
}
return x;
}