summaryrefslogtreecommitdiff
path: root/lisp/svg.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2017-10-19 00:36:44 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2017-10-19 00:36:44 +0200
commit658853aebb0ae2ee243276e04a7672fa7525ec5c (patch)
treec16ba66a6400685b246b03e71b05f66e3c9ab8a6 /lisp/svg.el
parent32f2ab4bbd83ec638b8fa199c194c594e6c36225 (diff)
downloademacs-658853aebb0ae2ee243276e04a7672fa7525ec5c.tar.gz
* lisp/svg.el (svg--encode-text): Fix off-by-one error in previous patch.
Diffstat (limited to 'lisp/svg.el')
-rw-r--r--lisp/svg.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/svg.el b/lisp/svg.el
index 241385fa91f..42619ed3519 100644
--- a/lisp/svg.el
+++ b/lisp/svg.el
@@ -167,7 +167,7 @@ otherwise. IMAGE-TYPE should be a MIME image type, like
(goto-char (point-min))
(while (not (eobp))
(let ((char (following-char)))
- (if (<= char 128)
+ (if (< char 128)
(forward-char 1)
(delete-char 1)
(insert "&#" (format "%d" char) ";"))))