* nsterm.h (struct ns_color_table.size, struct ns_color_table.avail):
commit1ef7689b9784baa31d1d723909d226fddd95bc86
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Jul 2011 01:04:51 +0000 (28 18:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Jul 2011 01:04:51 +0000 (28 18:04 -0700)
treede24def9f1fbd9c6f4820b5c4515682081b7f645
parentea8a7d00f9678471e960117b0b87318dcf4e7d81
* nsterm.h (struct ns_color_table.size, struct ns_color_table.avail):

Now ptrdiff_t, not int.
* nsterm.m (ns_index_color): Use ptrdiff_t, not int, for table indexes.
(ns_draw_fringe_bitmap): Rewrite to avoid overflow.
src/ChangeLog
src/nsterm.h
src/nsterm.m