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.184 by root, Tue Jan 17 20:44:16 2012 UTC vs.
Revision 1.190 by root, Thu May 17 20:08:00 2012 UTC

22#include "../config.h" 22#include "../config.h"
23#include "rxvt.h" 23#include "rxvt.h"
24#include "rxvtutil.h" 24#include "rxvtutil.h"
25#include "rxvtfont.h" 25#include "rxvtfont.h"
26 26
27#include <cstdlib> 27#include <stdlib.h>
28 28
29#include <inttypes.h> 29#include <inttypes.h>
30 30
31#if XFT 31#if XFT
32# include <fontconfig/fontconfig.h> 32# include <fontconfig/fontconfig.h>
1785 while (hi >= fmap.size ()) 1785 while (hi >= fmap.size ())
1786 fmap.push_back (0); 1786 fmap.push_back (0);
1787 1787
1788 if (!fmap[hi]) 1788 if (!fmap[hi])
1789 { 1789 {
1790 fmap[hi] = (pagemap *)new pagemap; 1790 fmap[hi] = new pagemap;
1791 memset (fmap[hi], 0xff, sizeof (pagemap)); 1791 memset (fmap[hi], 0xff, sizeof (pagemap));
1792 } 1792 }
1793 1793
1794 (*fmap[hi])[unicode & 0xff] = i; 1794 (*fmap[hi])[unicode & 0xff] = i;
1795 } 1795 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines