summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2012-10-19 18:13:51 +0200
committerVicent Marti <tanoku@gmail.com>2012-10-19 18:13:51 +0200
commitbc68d59041c34f425e3a21cdf928dc609e18d01c (patch)
tree10b1e0f9e6f7e2a2d65539a8c4c651244ef9979b
parent0e7d0cc653874fef49a3ef25c01bc2ccd726c9bf (diff)
downloadsundown-myr-bc68d59041c34f425e3a21cdf928dc609e18d01c.tar.gz
Gah. Stupid typo.
-rw-r--r--src/markdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/markdown.c b/src/markdown.c
index 3253b0f..ea3cf23 100644
--- a/src/markdown.c
+++ b/src/markdown.c
@@ -501,7 +501,7 @@ parse_emph1(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size
if (data[i] == c && !_isspace(data[i - 1])) {
if (rndr->ext_flags & MKDEXT_NO_INTRA_EMPHASIS) {
- if (i + i < size && isalnum(data[i + 1]))
+ if (i + 1 < size && isalnum(data[i + 1]))
continue;
}