Mercurial > hg > xemacs-beta
comparison src/font-mgr.c @ 5308:17c381a2f377
Fix my last change when both --with-union-type and --with-xft, thanks Robert.
2010-11-24 Aidan Kehoe <kehoea@parhasard.net>
* font-mgr.c (Ffc_pattern_get): Fix my last change when both
--with-union-type and --with-xft are specified, thank you Robert
Delius Royar!
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 24 Nov 2010 17:54:57 +0000 |
parents | c096d8051f89 |
children | 8d29f1c4bb98 |
comparison
equal
deleted
inserted
replaced
5307:c096d8051f89 | 5308:17c381a2f377 |
---|---|
438 | 438 |
439 if (!NILP (id)) | 439 if (!NILP (id)) |
440 { | 440 { |
441 #ifdef HAVE_BIGNUM | 441 #ifdef HAVE_BIGNUM |
442 check_integer_range (id, Qzero, make_integer (INT_MAX)); | 442 check_integer_range (id, Qzero, make_integer (INT_MAX)); |
443 int_id = BIGNUMP (id) ? bignum_to_int (id) : XINT (id); | 443 int_id = BIGNUMP (id) ? bignum_to_int (XBIGNUM_DATA (id)) : XINT (id); |
444 #else | 444 #else |
445 check_integer_range (id, Qzero, make_integer (EMACS_INT_MAX)); | 445 check_integer_range (id, Qzero, make_integer (EMACS_INT_MAX)); |
446 int_id = XINT (id); | 446 int_id = XINT (id); |
447 #endif | 447 #endif |
448 } | 448 } |