From 9c5d074b0067b564f230b3770b2026afb9bb6998 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 29 Dec 2014 22:31:17 -0800 Subject: Added cmark_ prefix to functions in cmark_ctype. --- src/chunk.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/chunk.h') diff --git a/src/chunk.h b/src/chunk.h index ba6c89e..54c4b16 100644 --- a/src/chunk.h +++ b/src/chunk.h @@ -27,7 +27,7 @@ static inline void cmark_chunk_ltrim(cmark_chunk *c) { assert(!c->alloc); - while (c->len && isspace(c->data[0])) { + while (c->len && cmark_isspace(c->data[0])) { c->data++; c->len--; } @@ -36,7 +36,7 @@ static inline void cmark_chunk_ltrim(cmark_chunk *c) static inline void cmark_chunk_rtrim(cmark_chunk *c) { while (c->len > 0) { - if (!isspace(c->data[c->len - 1])) + if (!cmark_isspace(c->data[c->len - 1])) break; c->len--; -- cgit v1.2.3