pinosaur
/
smdp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d8a33a
)
fixed duplicated reference in header-only files, #66, #67
author
Michael Göhler
<somebody.here@gmx.de>
Fri, 26 Dec 2014 20:44:18 +0000
(21:44 +0100)
committer
Michael Göhler
<somebody.here@gmx.de>
Fri, 26 Dec 2014 20:44:18 +0000
(21:44 +0100)
src/parser.c
patch
|
blob
|
history
diff --git
a/src/parser.c
b/src/parser.c
index
5b08be4
..
b400610
100644
(file)
--- a/
src/parser.c
+++ b/
src/parser.c
@@
-192,6
+192,10
@@
deck_t *markdown_load(FILE *input) {
// adjust counts
deck->headers += hc;
deck->slide->lines -= hc;
+ } else {
+
+ // remove header from deck
+ deck->header = NULL;
}
}