AmendHub

Download (as of this amendment):

jcs

/

textview

/

amendments

/

85

TVAppendLocked: Check for fromline first


jcs made amendment 85 23 days ago
--- textview.c Thu Oct 15 08:56:59 2026 +++ textview.c Fri Oct 30 20:34:08 2026 @@ -499,6 +499,7 @@ TVAppendLocked(struct TVRec *tv, struct TVStyle *style new_chunk = false; fromline = TVGetLine(tv, tv->nlines); + fromend = fromline ? fromline->end : 0; /* setup style */ prev_style = tv->cur_style;