diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2017-10-19 00:36:44 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2017-10-19 00:36:44 +0200 |
commit | 658853aebb0ae2ee243276e04a7672fa7525ec5c (patch) | |
tree | c16ba66a6400685b246b03e71b05f66e3c9ab8a6 /lisp/svg.el | |
parent | 32f2ab4bbd83ec638b8fa199c194c594e6c36225 (diff) | |
download | emacs-658853aebb0ae2ee243276e04a7672fa7525ec5c.tar.gz emacs-658853aebb0ae2ee243276e04a7672fa7525ec5c.tar.bz2 emacs-658853aebb0ae2ee243276e04a7672fa7525ec5c.zip |
* 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.el | 2 |
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) ";")))) |