From dc3818987ceede785bc7b30416fe0c2f7b997bf5 Mon Sep 17 00:00:00 2001 From: joshvera Date: Mon, 30 Nov 2015 16:54:10 -0500 Subject: [PATCH] start points from zero --- src/runtime/length.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/length.h b/src/runtime/length.h index 5171b0b9..62a51d09 100644 --- a/src/runtime/length.h +++ b/src/runtime/length.h @@ -63,7 +63,7 @@ static inline bool ts_length_eq(TSLength len1, TSLength len2) { } static inline TSPoint ts_point_zero() { - return (TSPoint){ .row = 1, .column = 1 }; + return (TSPoint){ .row = 0, .column = 0 }; } static inline TSPoint ts_point_make(size_t row, size_t column) {