diff options
author | Glenn Morris <rgm@gnu.org> | 2008-02-02 04:15:23 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-02-02 04:15:23 +0000 |
commit | 4836694e558e4af0fbe30c861557dd67b9f4900e (patch) | |
tree | 491f8088e224677e57c6329104ca6d068e7b66f8 /lisp/ps-bdf.el | |
parent | 2858cdb5d1198ed625d665699754a09a9a5e3488 (diff) | |
download | emacs-4836694e558e4af0fbe30c861557dd67b9f4900e.tar.gz |
(bdf-read-font-info): Use string-to-number rather than string-to-int.
Diffstat (limited to 'lisp/ps-bdf.el')
-rw-r--r-- | lisp/ps-bdf.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ps-bdf.el b/lisp/ps-bdf.el index 3ab884c34d3..35ba405b8f9 100644 --- a/lisp/ps-bdf.el +++ b/lisp/ps-bdf.el @@ -240,7 +240,7 @@ CODE, where N and CODE are in the following relation: (goto-char (point-min)) (search-forward "\nFONT ") (if (looking-at "-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-\\([0-9]+\\)") - (setq size (string-to-int (match-string 1))) + (setq size (string-to-number (match-string 1))) (search-forward "\nSIZE ") (setq size (read (current-buffer))) ;; The following kludgy code is t avoid bugs of several |