ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/defaultfont.C
(Generate patch)

Comparing rxvt-unicode/src/defaultfont.C (file contents):
Revision 1.28 by pcg, Wed Mar 3 02:59:53 2004 UTC vs.
Revision 1.29 by pcg, Wed Mar 3 20:15:18 2004 UTC

442 442
443bool 443bool
444rxvt_font_x11::set_properties (rxvt_fontprop &p, const char *name) 444rxvt_font_x11::set_properties (rxvt_fontprop &p, const char *name)
445{ 445{
446 int slashes = 0; 446 int slashes = 0;
447 const char *comp[12]; 447 const char *comp[13];
448 448
449 for (const char *c = name; *c; c++) 449 for (const char *c = name; *c; c++)
450 if (*c == '-') 450 if (*c == '-')
451 { 451 {
452 comp[slashes++] = c + 1; 452 comp[slashes++] = c + 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines