# HG changeset patch # User Richard M. Stallman # Date 772654453 0 # Node ID 1aaf0461446d19fdbcd0f6ca375d6a8a65c6d5da # Parent b6301bd38638793e96798427f4d7b36dcdd27c39 (echo_dash): Fix backwards conditional. diff -r b6301bd38638 -r 1aaf0461446d src/keyboard.c --- a/src/keyboard.c Sun Jun 26 16:29:43 1994 +0000 +++ b/src/keyboard.c Sun Jun 26 18:14:13 1994 +0000 @@ -576,7 +576,7 @@ if (!immediate_echo && echoptr == echobuf) return; /* Do nothing if we just printed a prompt. */ - if (echo_after_prompt != echoptr - echobuf) + if (echo_after_prompt == echoptr - echobuf) return; /* Do nothing if not echoing at all. */ if (echoptr == 0)