summaryrefslogtreecommitdiff
path: root/chess-images.el
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2014-03-03 18:21:36 +0100
committerMario Lang <mlang@delysid.org>2014-03-03 18:25:12 +0100
commit29f2f3278c0a1c84bdb681822d3f949d8c259791 (patch)
treefd48f4b7e9d0eeae565554f963c383499ab43148 /chess-images.el
parentdd40131722c72b17f8e1480aa284c534f2607b83 (diff)
Do not use `delete-backward-char'.
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)))