ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtfont.C
(Generate patch)

Comparing rxvt-unicode/src/rxvtfont.C (file contents):
Revision 1.160 by sf-exg, Wed Mar 31 21:52:05 2010 UTC vs.
Revision 1.161 by root, Wed Mar 31 22:22:32 2010 UTC

1672 goto next_font; 1672 goto next_font;
1673 1673
1674 bool careful; 1674 bool careful;
1675 if (f->has_char (unicode, &prop, careful)) 1675 if (f->has_char (unicode, &prop, careful))
1676 { 1676 {
1677 if (careful) 1677 i = (i << 1) | careful;
1678 i |= 128;
1679 1678
1680 goto found; 1679 goto found;
1681 } 1680 }
1682 1681
1683 next_font: 1682 next_font:
1762} 1761}
1763 1762
1764int 1763int
1765rxvt_fontset::find_font (unicode_t unicode) 1764rxvt_fontset::find_font (unicode_t unicode)
1766{ 1765{
1767 int id = find_font_idx (unicode); 1766 return min<int> ((fontCount << 1) | 1, find_font_idx (unicode));
1768
1769 return min<int> (fontCount, id & 127) | (id & 128 ? Careful : 0);
1770} 1767}
1768

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines