emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r110916: Fix for gamegrid-add-score-w


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110916: Fix for gamegrid-add-score-with-update-game-score-1.
Date: Sat, 17 Nov 2012 15:00:35 +0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110916
fixes bug: http://debbugs.gnu.org/12779
author: Stephen Berman <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sat 2012-11-17 15:00:35 +0800
message:
  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.
modified:
  lisp/ChangeLog
  lisp/play/gamegrid.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-11-17 06:48:10 +0000
+++ b/lisp/ChangeLog    2012-11-17 07:00:35 +0000
@@ -1,3 +1,9 @@
+2012-11-17  Stephen Berman  <address@hidden>
+
+       * 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. (Bug#12779)
+
 2012-11-17  Chong Yidong  <address@hidden>
 
        * help-mode.el (help-xref-interned): End on point-min (Bug#12737).

=== modified file 'lisp/play/gamegrid.el'
--- a/lisp/play/gamegrid.el     2012-07-11 23:13:41 +0000
+++ b/lisp/play/gamegrid.el     2012-11-17 07:00:35 +0000
@@ -560,7 +560,7 @@
         (goto-char (point-min))
         (search-forward (concat (int-to-string score)
                                " " (user-login-name) " "
-                               marker-string))
+                               marker-string) nil t)
         (beginning-of-line)))))
 
 (defun gamegrid-add-score-insecure (file score &optional directory)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]