diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-06-18 16:37:01 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-06-18 16:37:01 +0000 |
commit | d587edcd2d77505c7cda1e6117357202abb28203 (patch) | |
tree | 53a5b1cbddf0e6b3a53f6bd2e2f272a51b38d239 | |
parent | 4d5e7f8add8e5c44368a9759ddfc15e0eb99cda0 (diff) | |
download | emacs-d587edcd2d77505c7cda1e6117357202abb28203.tar.gz |
(mpuz-congratulate): Don't say "1 errors".
-rw-r--r-- | lisp/play/mpuz.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/play/mpuz.el b/lisp/play/mpuz.el index a99182d1689..a0356722124 100644 --- a/lisp/play/mpuz.el +++ b/lisp/play/mpuz.el @@ -416,8 +416,9 @@ You may abort a game by typing \\<mpuz-mode-map>\\[mpuz-offer-abort]." (defun mpuz-congratulate () "Build a congratulation message when puzzle is solved." - (format "Puzzle solved with %d errors. %s" + (format "Puzzle solved with %d error%s. %s" mpuz-nb-errors + (if (= mpuz-nb-errors 1) "" "s") (cond ((= mpuz-nb-errors 0) "That's perfect !") ((= mpuz-nb-errors 1) "That's very good !") ((= mpuz-nb-errors 2) "That's good.") |