es->buffer_size is not always the length of the text currently in the
editbox, so use -1 instead.

1 file changed