summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-12 21:00:24 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-12 21:00:24 -0800
commit64ed30ef85a6968509392224a6849907f554f174 (patch)
treec42fbdccce144f6d37ee9040ea4c53a44d579fd9
parent92ace5f0d4ddf3f5f1d612bb0e5f0f3ade4b5adf (diff)
Some astyle reformatting.
-rw-r--r--src/iterator.c16
-rw-r--r--src/xml.c2
2 files changed, 9 insertions, 9 deletions
diff --git a/src/iterator.c b/src/iterator.c
index 7f90cc7..4daec2d 100644
--- a/src/iterator.c
+++ b/src/iterator.c
@@ -7,14 +7,14 @@
#include "iterator.h"
static const int S_leaf_mask =
- (1 << CMARK_NODE_HTML) |
- (1 << CMARK_NODE_HRULE) |
- (1 << CMARK_NODE_CODE_BLOCK) |
- (1 << CMARK_NODE_TEXT) |
- (1 << CMARK_NODE_SOFTBREAK) |
- (1 << CMARK_NODE_LINEBREAK) |
- (1 << CMARK_NODE_CODE) |
- (1 << CMARK_NODE_INLINE_HTML);
+ (1 << CMARK_NODE_HTML) |
+ (1 << CMARK_NODE_HRULE) |
+ (1 << CMARK_NODE_CODE_BLOCK) |
+ (1 << CMARK_NODE_TEXT) |
+ (1 << CMARK_NODE_SOFTBREAK) |
+ (1 << CMARK_NODE_LINEBREAK) |
+ (1 << CMARK_NODE_CODE) |
+ (1 << CMARK_NODE_INLINE_HTML);
cmark_iter*
cmark_iter_new(cmark_node *root)
diff --git a/src/xml.c b/src/xml.c
index 46fc840..f630aba 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -98,7 +98,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
break;
case CMARK_NODE_HEADER:
cmark_strbuf_printf(xml, " level=\"%d\"",
- node->as.header.level);
+ node->as.header.level);
break;
case CMARK_NODE_CODE_BLOCK:
if (node->as.code.info.len > 0) {