md_is_table_underline: Fix detection by the end of file. This was a regression in a8bb4d3020eb1cfa07f01241c2aa668d91011cb5.
diff --git a/src/md4c.c b/src/md4c.c
index 42a3289..1af50b7 100644
--- a/src/md4c.c
+++ b/src/md4c.c
@@ -5250,7 +5250,7 @@ md_is_table_underline(MD_CTX* ctx, OFF beg, OFF* p_end, unsigned* p_col_count)
/* Cell underline ("-----", ":----", "----:" or ":----:") */
if(off < ctx->size && CH(off) == _T(':'))
off++;
- if(off < ctx->size && CH(off) != _T('-'))
+ if(off >= ctx->size || CH(off) != _T('-'))
return FALSE;
while(off < ctx->size && CH(off) == _T('-'))
off++;