improve safety guard for editor_read_string
improve safety guard for editor_read_string

Previously the whole buffer size (80 chars) was used for containing
characters for searching. This meant that there was no more room for the
\0 string terminator, screwing up strlen calls and whatnot. This patch
fixes the issue by simply subtracting 1 from the check.

krpors/hx