summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-10-28 22:57:01 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-10-28 22:57:01 -0700
commit9253c0eab573e5ca0d37e4b1db77d3b0bfcf3be6 (patch)
tree829c2e5cfd9d3211526d8cf6d4ad48cd0bf4e9eb /src/inlines.c
parentadc78c85809fb2f79f967d29713e2d9f520aea5b (diff)
Changed EMPHASIS_STACK_LIMIT -> STACK_LIMIT.
We'll also use it in parsing bracketed link labels.
Diffstat (limited to 'src/inlines.c')
-rw-r--r--src/inlines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inlines.c b/src/inlines.c
index d282170..26eb02a 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -393,7 +393,7 @@ static node_inl* handle_strong_emph(subject* subj, unsigned char c, node_inl **l
cannotClose:
inl_text = make_str(chunk_dup(&subj->input, subj->pos - numdelims, numdelims));
- if (can_open && subj->emphasis_nestlevel < EMPHASIS_STACK_LIMIT)
+ if (can_open && subj->emphasis_nestlevel < STACK_LIMIT)
{
istack = (inline_stack*)malloc(sizeof(inline_stack));
if (istack == NULL) {