From 144aab22e607483efee2ef36f4d4d888fccc16fc Mon Sep 17 00:00:00 2001 From: joshvera Date: Wed, 2 Dec 2015 17:47:46 -0500 Subject: [PATCH] missed two --- src/runtime/length.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/length.h b/src/runtime/length.h index b3ad3d03..dab2b86e 100644 --- a/src/runtime/length.h +++ b/src/runtime/length.h @@ -36,7 +36,7 @@ static inline TSPoint ts_point_add(TSPoint point1, TSPoint point2) { column = point2.column; } - return (TSPoint){ .row = row, .column = column }; + return ts_point_make(row, column); } static inline TSPoint ts_point_sub(TSPoint point1, TSPoint point2) { @@ -49,7 +49,7 @@ static inline TSPoint ts_point_sub(TSPoint point1, TSPoint point2) { column = point1.column; } - return (TSPoint){ .row = row, .column = column }; + return ts_point_make(row, column); } static inline TSLength ts_length_zero() {