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

Comparing rxvt-unicode/src/rxvttoolkit.C (file contents):
Revision 1.71 by sasha, Fri Aug 17 22:01:33 2007 UTC vs.
Revision 1.72 by ayin, Mon Aug 27 18:31:00 2007 UTC

758 c.a = (c.a << 8) | 0x0ff; 758 c.a = (c.a << 8) | 0x0ff;
759 } 759 }
760 // parse the non-standard "rgba:rrrr/gggg/bbbb/aaaa" format 760 // parse the non-standard "rgba:rrrr/gggg/bbbb/aaaa" format
761 else if (strlen (name) != 4+5*4 || 4 != sscanf (name, "rgba:%4hx/%4hx/%4hx/%4hx%c", &c.r, &c.g, &c.b, &c.a, &eos)) 761 else if (strlen (name) != 4+5*4 || 4 != sscanf (name, "rgba:%4hx/%4hx/%4hx/%4hx%c", &c.r, &c.g, &c.b, &c.a, &eos))
762 { 762 {
763 XColor xc, xc_exact; 763 XColor xc;
764 764
765 if (XParseColor (screen->dpy, screen->cmap, name, &xc)) 765 if (XParseColor (screen->dpy, screen->cmap, name, &xc))
766 { 766 {
767 c.r = xc.red; 767 c.r = xc.red;
768 c.g = xc.green; 768 c.g = xc.green;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines