diff options
| author | Lars Ingebrigtsen | 2017-10-19 00:36:44 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2017-10-19 00:36:44 +0200 |
| commit | 658853aebb0ae2ee243276e04a7672fa7525ec5c (patch) | |
| tree | c16ba66a6400685b246b03e71b05f66e3c9ab8a6 | |
| parent | 32f2ab4bbd83ec638b8fa199c194c594e6c36225 (diff) | |
| download | emacs-658853aebb0ae2ee243276e04a7672fa7525ec5c.tar.gz emacs-658853aebb0ae2ee243276e04a7672fa7525ec5c.zip | |
* lisp/svg.el (svg--encode-text): Fix off-by-one error in previous patch.
| -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 | |||
| 167 | (goto-char (point-min)) | 167 | (goto-char (point-min)) |
| 168 | (while (not (eobp)) | 168 | (while (not (eobp)) |
| 169 | (let ((char (following-char))) | 169 | (let ((char (following-char))) |
| 170 | (if (<= char 128) | 170 | (if (< char 128) |
| 171 | (forward-char 1) | 171 | (forward-char 1) |
| 172 | (delete-char 1) | 172 | (delete-char 1) |
| 173 | (insert "&#" (format "%d" char) ";")))) | 173 | (insert "&#" (format "%d" char) ";")))) |