From 7b42704317f30973c54aa4bdf21f97bf3f55d777 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 17 Jun 1999 05:29:34 +0000 Subject: [PATCH] (mpuz-try-proposal): Fix message call. Don't penalize player for certain impossible guesses. --- lisp/play/mpuz.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/play/mpuz.el b/lisp/play/mpuz.el index 8f0f2f688e4..c0323610ab1 100644 --- a/lisp/play/mpuz.el +++ b/lisp/play/mpuz.el @@ -393,7 +393,9 @@ You may abort a game by typing \\\\[mpuz-offer-abort]." (digit (- digit-char ?0)) (correct-digit (mpuz-to-digit letter))) (cond ((mpuz-digit-solved-p correct-digit) - (message "%c has already been found.")) + (message "%c has already been found." (+ correct-digit ?0))) + ((mpuz-digit-solved-p digit) + (message "%c has already been placed." digit-char)) ((= digit correct-digit) (message "%c = %c correct !" letter-char digit-char) (mpuz-ding) -- 2.39.2