Fix wide-int related error and cache error in NS font handling.
authorJan Djärv <jan.h.d@swipnet.se>
Mon, 8 Oct 2012 18:31:39 +0000 (20:31 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Mon, 8 Oct 2012 18:31:39 +0000 (20:31 +0200)
commit62c480c90a5fedee7dfa7d4d3c7c045ca9e0e892
tree154c5c23c82a550856fa2c42488566828c343747
parent1337353856dbf0dcfe8378ccf96f26442eee73e9
Fix wide-int related error and cache error in NS font handling.

* nsfont.m (Vfonts_in_cache): New variable.
(nsfont_open): Use unsignedLongLongValue for cache in case wide ints
are used.  Add cached fonts to Vfonts_in_cache.
(syms_of_nsfont): Initialize and staticpro Vfonts_in_cache.
src/ChangeLog
src/nsfont.m