From: Glenn Morris Date: Sat, 2 Feb 2008 04:15:23 +0000 (+0000) Subject: (bdf-read-font-info): Use string-to-number rather than string-to-int. X-Git-Tag: emacs-pretest-23.0.90~8254 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4836694e558e4af0fbe30c861557dd67b9f4900e;p=emacs.git (bdf-read-font-info): Use string-to-number rather than string-to-int. --- 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