start points from zero

This commit is contained in:
joshvera 2015-11-30 16:54:10 -05:00
parent cc77889d11
commit dc3818987c

View file

@ -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) {