summaryrefslogtreecommitdiff
path: root/chess-fen.el
diff options
context:
space:
mode:
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))))