* Move apply_modify_to_entry():textbuf[] into caller. * Reset rs->sr_text at end of functions that can set it to textbuf.