]> git.eshelyaron.com Git - emacs.git/commitdiff
(bdf-read-font-info): Use string-to-number rather than string-to-int.
authorGlenn Morris <rgm@gnu.org>
Sat, 2 Feb 2008 04:15:23 +0000 (04:15 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 2 Feb 2008 04:15:23 +0000 (04:15 +0000)
lisp/ps-bdf.el

index 3ab884c34d388c15f5e9bacd1ea691e4b5aca39c..35ba405b8f929ce35b71c6e4565d7cfad53993ca 100644 (file)
@@ -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