Mercurial > emacs
comparison src/macterm.c @ 77907:c53c9b6a0e5b
(mac_create_bitmap_from_bitmap_data)
(init_font_name_table): Delete stray semicolon.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 05 Jun 2007 00:24:08 +0000 |
parents | 4632b6698419 |
children | ed488d84196f c6b1c2b2e312 4c726a40604c 648e6c714c7d |
comparison
equal
deleted
inserted
replaced
77906:a33e69b10eed | 77907:c53c9b6a0e5b |
---|---|
732 for (j = 0; j < w1; j++) | 732 for (j = 0; j < w1; j++) |
733 { | 733 { |
734 /* Bitswap XBM bytes to match how Mac does things. */ | 734 /* Bitswap XBM bytes to match how Mac does things. */ |
735 unsigned char c = *bits++; | 735 unsigned char c = *bits++; |
736 *p++ = (unsigned char)((swap_nibble[c & 0xf] << 4) | 736 *p++ = (unsigned char)((swap_nibble[c & 0xf] << 4) |
737 | (swap_nibble[(c>>4) & 0xf]));; | 737 | (swap_nibble[(c>>4) & 0xf])); |
738 } | 738 } |
739 } | 739 } |
740 | 740 |
741 SetRect (&(bitmap->bounds), 0, 0, w, h); | 741 SetRect (&(bitmap->bounds), 0, 0, w, h); |
742 } | 742 } |
7556 | 7556 |
7557 atsu_font_id_hash = | 7557 atsu_font_id_hash = |
7558 make_hash_table (Qequal, make_number (DEFAULT_HASH_SIZE), | 7558 make_hash_table (Qequal, make_number (DEFAULT_HASH_SIZE), |
7559 make_float (DEFAULT_REHASH_SIZE), | 7559 make_float (DEFAULT_REHASH_SIZE), |
7560 make_float (DEFAULT_REHASH_THRESHOLD), | 7560 make_float (DEFAULT_REHASH_THRESHOLD), |
7561 Qnil, Qnil, Qnil);; | 7561 Qnil, Qnil, Qnil); |
7562 h = XHASH_TABLE (atsu_font_id_hash); | 7562 h = XHASH_TABLE (atsu_font_id_hash); |
7563 | 7563 |
7564 err = ATSUFontCount (&nfonts); | 7564 err = ATSUFontCount (&nfonts); |
7565 if (err == noErr) | 7565 if (err == noErr) |
7566 { | 7566 { |