summaryrefslogtreecommitdiff
path: root/chess-images.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-images.el')
-rw-r--r--chess-images.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-images.el b/chess-images.el
index cce9efb..ca11ac9 100644
--- a/chess-images.el
+++ b/chess-images.el
@@ -411,7 +411,7 @@ They are returned in ascending order, or nil for no sizes available."
(insert "/* pixels */\n")
(dotimes (i height)
(insert ?\" (make-string (or width height) ?.) ?\" ?, ?\n))
- (delete-backward-char 2)
+ (delete-char -2)
(insert "\n};\n")
(buffer-string)))