From 4836694e558e4af0fbe30c861557dd67b9f4900e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 2 Feb 2008 04:15:23 +0000 Subject: (bdf-read-font-info): Use string-to-number rather than string-to-int. --- lisp/ps-bdf.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/ps-bdf.el') 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 -- cgit v1.2.1