diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-02-03 11:24:22 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-02-03 11:24:22 -0800 |
commit | df0b2940c2ac0172d3548829913534d303f9ea45 (patch) | |
tree | 58695a4f633963199f5663a74f9aa0a82f199706 /lisp/emacs-lisp/byte-run.el | |
parent | 9ff3f0fdc37a4856ef25db649b9b278ebf3683f7 (diff) | |
download | emacs-df0b2940c2ac0172d3548829913534d303f9ea45.tar.gz emacs-df0b2940c2ac0172d3548829913534d303f9ea45.tar.bz2 emacs-df0b2940c2ac0172d3548829913534d303f9ea45.zip |
Handle overflow when computing char display width (Bug#9496).
* character.c (char_width): Return EMACS_INT, not int.
(char_width, c_string_width): Check for overflow when
computing the width; this is possible now that individual
characters can have unbounded width. Problem introduced
by merge from Emacs 23 on 2012-01-19.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions