cmark

My personal build of CMark ✏️

Commit
44ed9b5cb575883ba605632ac0db36b9aa99813b
Parent
2f17435eb14c331a504611fbe5b47fd476950883
Author
John MacFarlane <jgm@berkeley.edu>
Date

Fixed typo in Windows fix.

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified src/latex.c 2 1 1
diff --git 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);