diff options
| author | Glenn Morris | 2008-02-02 04:15:23 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-02-02 04:15:23 +0000 |
| commit | 4836694e558e4af0fbe30c861557dd67b9f4900e (patch) | |
| tree | 491f8088e224677e57c6329104ca6d068e7b66f8 | |
| parent | 2858cdb5d1198ed625d665699754a09a9a5e3488 (diff) | |
| download | emacs-4836694e558e4af0fbe30c861557dd67b9f4900e.tar.gz emacs-4836694e558e4af0fbe30c861557dd67b9f4900e.zip | |
(bdf-read-font-info): Use string-to-number rather than string-to-int.
| -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: | |||
| 240 | (goto-char (point-min)) | 240 | (goto-char (point-min)) |
| 241 | (search-forward "\nFONT ") | 241 | (search-forward "\nFONT ") |
| 242 | (if (looking-at "-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-\\([0-9]+\\)") | 242 | (if (looking-at "-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-\\([0-9]+\\)") |
| 243 | (setq size (string-to-int (match-string 1))) | 243 | (setq size (string-to-number (match-string 1))) |
| 244 | (search-forward "\nSIZE ") | 244 | (search-forward "\nSIZE ") |
| 245 | (setq size (read (current-buffer))) | 245 | (setq size (read (current-buffer))) |
| 246 | ;; The following kludgy code is t avoid bugs of several | 246 | ;; The following kludgy code is t avoid bugs of several |