--- rxvt-unicode/src/rxvtfont.h 2010/04/17 23:00:45 1.36 +++ rxvt-unicode/src/rxvtfont.h 2010/05/22 23:55:56 1.37 @@ -58,9 +58,13 @@ int x, int y, const text_t *text, int len, int fg, int bg) = 0; -}; -#define FONT_UNREF(f) do { (f)->clear (); delete (f); } while (0) + void unref () + { + clear (); + delete this; + } +}; struct rxvt_fallback_font;