mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(bdf-read-font-info): Use string-to-number rather than string-to-int.
This commit is contained in:
parent
2858cdb5d1
commit
4836694e55
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue