diff --git a/src/utilities.c b/src/utilities.c index be6c5ae..b8cbd92 100644 --- a/src/utilities.c +++ b/src/utilities.c @@ -68,8 +68,8 @@ void deleteImage(Image *t_self) { */ Segment *newSegment(uint32_t t_right_limit, uint32_t t_left_limit) { Segment *res = (Segment *)malloc(sizeof(Segment)); - res->right_limit = t_right_limit; res->left_limit = t_left_limit; + res->right_limit = t_right_limit; return res; }