efn/b_getline.c

9 lines
124 B
C
Raw Normal View History

2022-04-02 13:51:43 +00:00
Row *
b_getline(Row *r, int l) {
if (l == 1) return r;
if (r->n == NULL) return NULL;
return b_getline(r->n, l - 1);
}