summaryrefslogtreecommitdiff
path: root/chess-fen.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-08 06:42:12 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-08 06:42:12 +0000
commit62425d4d94f95572c985005c33d93fe9ae420ac9 (patch)
tree9967191e5e8fb7d9beafa38612370aa0d3294b8c /chess-fen.el
parent24c4140cbd18785ecdbb2cfab3d2c6713e615555 (diff)
Added support for playing out puzzle collections.
Diffstat (limited to 'chess-fen.el')
-rw-r--r--chess-fen.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-fen.el b/chess-fen.el
index 8ef7ccb..8dca4f6 100644
--- a/chess-fen.el
+++ b/chess-fen.el
@@ -84,7 +84,7 @@ If FULL is non-nil, represent trailing spaces as well."
(if (= p ? )
(setq blank (1+ blank))
(if (> blank 0)
- (setq blank 0 str (concat str (int-to-string blank))))
+ (setq str (concat str (int-to-string blank)) blank 0))
(setq str (concat str (char-to-string p))))))
(if (and full (> blank 0))
(setq str (concat str (int-to-string blank))))