aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStephen Berman2012-11-17 15:00:35 +0800
committerChong Yidong2012-11-17 15:00:35 +0800
commite45deaefe72ab01a93d5c804fa08075c2fdac778 (patch)
tree55ddbd1c9663afbfa0b0edf127850a681b7a0e9c /lisp
parent8e7696a18bbfbd9cf2b158b7a633f274fbb2b706 (diff)
downloademacs-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')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/play/gamegrid.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 72192bc79e5..8ac744bb980 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12012-11-17 Stephen Berman <stephen.berman@gmx.net>
2
3 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4 Don't signal an error with a score that is too low to add to the
5 list of top scores. (Bug#12779)
6
12012-11-17 Chong Yidong <cyd@gnu.org> 72012-11-17 Chong Yidong <cyd@gnu.org>
2 8
3 * help-mode.el (help-xref-interned): End on point-min (Bug#12737). 9 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
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)