• Paul Eggert's avatar
    Handle overflow when computing char display width (Bug#9496). · df0b2940
    Paul Eggert authored
    * 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.
    df0b2940
ChangeLog 361 KB