changeset 91429:dca6485ff374

(bdf-read-font-info): Use string-to-number rather than string-to-int.
author Glenn Morris <rgm@gnu.org>
date Sat, 02 Feb 2008 04:15:23 +0000
parents 7e0406056a29
children 85b224f48b52
files lisp/ps-bdf.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ps-bdf.el	Sat Feb 02 04:14:42 2008 +0000
+++ b/lisp/ps-bdf.el	Sat Feb 02 04:15:23 2008 +0000
@@ -240,7 +240,7 @@
 	  (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