From 7d637a0d6d20c58be812272f045e95930e0a0250 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 26 Jun 1994 18:14:13 +0000 Subject: [PATCH] (echo_dash): Fix backwards conditional. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index b235588e0cd..246c79f59cc 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -576,7 +576,7 @@ echo_dash () 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) -- 2.39.5