… | |
… | |
47 | if (this->name) free (this->name); // let the compiler optimize |
47 | if (this->name) free (this->name); // let the compiler optimize |
48 | this->name = name; |
48 | this->name = name; |
49 | } |
49 | } |
50 | |
50 | |
51 | rxvt_font () { name = 0; } |
51 | rxvt_font () { name = 0; } |
52 | ~rxvt_font () { free (name); clear (); }; |
52 | ~rxvt_font () { clear (); free (name); }; |
53 | |
53 | |
54 | void clear_rect (int x, int y, int w, int h, int color); |
54 | void clear_rect (int x, int y, int w, int h, int color); |
55 | |
55 | |
56 | virtual void clear () { }; |
56 | virtual void clear () { }; |
57 | |
57 | |