summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-05 20:58:30 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-05 20:58:30 -0700
commit44ed9b5cb575883ba605632ac0db36b9aa99813b (patch)
treec7c7c0e2d98b7dab89808b1d2cd7eadfd9d6c293
parent2f17435eb14c331a504611fbe5b47fd476950883 (diff)
Fixed typo in Windows fix.
-rw-r--r--src/latex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latex.c b/src/latex.c
index 50134bd..b9500bd 100644
--- a/src/latex.c
+++ b/src/latex.c
@@ -414,7 +414,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
#ifndef HAVE_C99_SNPRINTF
// Assume we're on Windows.
if (len < 0) {
- len = _vscprintf("%d", list_number);
+ len = _snprintf("%d", list_number);
}
#endif
lit(state, "\\setcounter{enum", false);