* keyboard.c (echo_dash): Do nothing if echoptr is 0.

This commit is contained in:
Jim Blandy 1993-04-10 07:45:07 +00:00
parent 9a5336ae36
commit 4bafa97229

View file

@ -521,6 +521,9 @@ echo_dash ()
{
if (!immediate_echo && echoptr == echobuf)
return;
/* Do nothing if not echoing at all. */
if (echoptr == 0)
return;
/* Put a dash at the end of the buffer temporarily,
but make it go away when the next character is added. */