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.119 by sasha, Thu Sep 20 15:32:34 2007 UTC vs.
Revision 1.121 by ayin, Sun Oct 28 11:25:04 2007 UTC

512 unsigned long value; 512 unsigned long value;
513 513
514 if (XGetFontProperty (f, property, &value)) 514 if (XGetFontProperty (f, property, &value))
515 return XGetAtomName (term->dpy, value); 515 return XGetAtomName (term->dpy, value);
516 else 516 else
517 return rxvt_strdup (repl); 517 return repl ? strdup (repl) : 0;
518} 518}
519 519
520rxvt_fontprop 520rxvt_fontprop
521rxvt_font_x11::properties () 521rxvt_font_x11::properties ()
522{ 522{
1058 1058
1059 void draw (rxvt_drawable &d, int x, int y, 1059 void draw (rxvt_drawable &d, int x, int y,
1060 const text_t *text, int len, 1060 const text_t *text, int len,
1061 int fg, int bg); 1061 int fg, int bg);
1062 1062
1063 bool has_char (unicode_t unicode, const rxvt_fontprop *prop, bool &carefull) const; 1063 bool has_char (unicode_t unicode, const rxvt_fontprop *prop, bool &careful) const;
1064 1064
1065protected: 1065protected:
1066 XftFont *f; 1066 XftFont *f;
1067}; 1067};
1068 1068

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines