diff options
| author | Stephen Berman | 2012-11-17 15:00:35 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-11-17 15:00:35 +0800 |
| commit | e45deaefe72ab01a93d5c804fa08075c2fdac778 (patch) | |
| tree | 55ddbd1c9663afbfa0b0edf127850a681b7a0e9c /lisp/play | |
| parent | 8e7696a18bbfbd9cf2b158b7a633f274fbb2b706 (diff) | |
| download | emacs-e45deaefe72ab01a93d5c804fa08075c2fdac778.tar.gz emacs-e45deaefe72ab01a93d5c804fa08075c2fdac778.zip | |
Fix for gamegrid-add-score-with-update-game-score-1.
* lisp/play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
Don't signal an error with a score that is too low to add to the list
of top scores.
Fixes: debbugs:12779
Diffstat (limited to 'lisp/play')
| -rw-r--r-- | lisp/play/gamegrid.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el index f3e277e338c..a3ea4af4651 100644 --- a/lisp/play/gamegrid.el +++ b/lisp/play/gamegrid.el | |||
| @@ -560,7 +560,7 @@ FILE is created there." | |||
| 560 | (goto-char (point-min)) | 560 | (goto-char (point-min)) |
| 561 | (search-forward (concat (int-to-string score) | 561 | (search-forward (concat (int-to-string score) |
| 562 | " " (user-login-name) " " | 562 | " " (user-login-name) " " |
| 563 | marker-string)) | 563 | marker-string) nil t) |
| 564 | (beginning-of-line))))) | 564 | (beginning-of-line))))) |
| 565 | 565 | ||
| 566 | (defun gamegrid-add-score-insecure (file score &optional directory) | 566 | (defun gamegrid-add-score-insecure (file score &optional directory) |