--- rxvt-unicode/src/defaultfont.h 2003/12/24 09:07:01 1.8 +++ rxvt-unicode/src/defaultfont.h 2004/02/13 12:16:21 1.11 @@ -1,9 +1,5 @@ -/* - * $Id: defaultfont.h,v 1.8 2003/12/24 09:07:01 pcg Exp $ - */ - -#ifndef _DEFAULTFONT_H_ -#define _DEFAULTFONT_H_ +#ifndef DEFAULTFONT_H_ +#define DEFAULTFONT_H_ #ifdef HAVE_XSETLOCALE # define X_LOCALE @@ -21,7 +17,7 @@ #include "rxvtlib.h" #include "feature.h" #include "encoding.h" -#include "rxvtvec.h" +#include "rxvtstl.h" struct rxvt_fontprop { enum { @@ -53,7 +49,7 @@ } rxvt_font () { name = 0; } - ~rxvt_font () { free (name); clear (); }; + ~rxvt_font () { clear (); free (name); }; void clear_rect (int x, int y, int w, int h, int color); @@ -84,7 +80,7 @@ void populate (const char *desc); int find_font (uint32_t unicode); - rxvt_font *operator [](int id) const + rxvt_font *operator [] (int id) const { return fonts[id]; }