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.172 by sf-exg, Thu Dec 30 18:19:38 2010 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines