emacs-devel
[Top][All Lists]
Advanced

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

[ELPA] Patch to package: sokoban


From: Dieter Deyke
Subject: [ELPA] Patch to package: sokoban
Date: Thu, 25 May 2017 13:38:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>From 96ca5427cd2b950008a55bb5586702d40f5c078e Mon Sep 17 00:00:00 2001
From: Dieter Deyke <address@hidden>
Date: Thu, 25 May 2017 13:27:08 +0200
Subject: [PATCH] fix off-by-1 error in sokoban-draw-score which caused
 on-screen score to be truncated

---
 packages/sokoban/sokoban.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/packages/sokoban/sokoban.el b/packages/sokoban/sokoban.el
index 6e8bee25c..ae6f845cf 100644
--- a/packages/sokoban/sokoban.el
+++ b/packages/sokoban/sokoban.el
@@ -1,9 +1,9 @@
 ;;; sokoban.el --- Implementation of Sokoban for Emacs.
 
-;; Copyright (C) 1998, 2013 Free Software Foundation, Inc.
+;; Copyright (C) 1998, 2013, 2017 Free Software Foundation, Inc.
 
 ;; Author: Glynn Clements <address@hidden>
-;; Version: 1.4
+;; Version: 1.4.1
 ;; Created: 1997-09-11
 ;; Keywords: games
 ;; Package-Type: multi
@@ -41,6 +41,8 @@
 ;; Modified: 1998-06-04, added `undo' feature
 ;;   added number of blocks done/total to score and modeline
 ;; Modified: 2003-06-14, update email address, remove URL
+;; Modified: 2017-05-25, fix off-by-1 error in sokoban-draw-score which
+;;   caused on-screen score to be truncated
 
 ;; Tested with XEmacs 20.3/4/5 and Emacs 19.34
 
@@ -517,7 +519,7 @@ static char * player_xpm[] = {
                         (format "Done:   %d/%d"
                                 sokoban-done
                                 sokoban-targets))))
-    (dotimes (y 2)
+    (dotimes (y 3)
       (let* ((string (aref strings y))
             (len (length string)))
        (dotimes (x len)
-- 
2.11.0


-- 
Dieter Deyke
mailto:address@hidden
Get my Gnupg key:
gpg --keyserver keys.gnupg.net --recv-keys B116EA20



reply via email to

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