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.171 by sf-exg, Thu Dec 30 17:28:29 2010 UTC vs.
Revision 1.173 by root, Fri Jan 7 21:17:08 2011 UTC

718 f = XLoadQueryFont (disp, name); 718 f = XLoadQueryFont (disp, name);
719 719
720 if (!f) 720 if (!f)
721 return false; 721 return false;
722 722
723 char *new_name = get_property (f, XA_FONT, name); 723 char *new_name = get_property (f, XA_FONT, 0);
724 724
725 if (new_name) 725 if (new_name)
726 set_name (new_name); 726 set_name (new_name);
727 else 727 else
728 rxvt_warn ("font '%s' has no FONT property, continuing without.", name); 728 rxvt_warn ("font '%s' has no FONT property, continuing without.\n", name);
729 729
730 XFreeFont (disp, f); 730 XFreeFont (disp, f);
731 f = 0; 731 f = 0;
732 } 732 }
733 733
1612 buf[end - desc] = 0; 1612 buf[end - desc] = 0;
1613 1613
1614 push_font (new_font (buf, cs)); 1614 push_font (new_font (buf, cs));
1615 } 1615 }
1616 else 1616 else
1617 rxvt_warn ("fontset element too long (>511 bytes), ignored."); 1617 rxvt_warn ("fontset element too long (>511 bytes), ignored.\n");
1618 1618
1619 desc = end + 1; 1619 desc = end + 1;
1620 } 1620 }
1621 while (*end); 1621 while (*end);
1622 } 1622 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines