Recent change to this bit of code didn't clear the buffer, which causes garbage in the string if compiled with EDIT_GETLIN