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.44 by root, Tue Jan 31 19:53:31 2006 UTC vs.
Revision 1.45 by root, Wed Feb 1 01:58:47 2006 UTC

637 char eos; 637 char eos;
638 int skip; 638 int skip;
639 639
640 if (1 <= sscanf (name, "[%hd]%n", &c.a, &skip)) 640 if (1 <= sscanf (name, "[%hd]%n", &c.a, &skip))
641 { 641 {
642 printf ("X %d\n", c.a);
643 c.a = lerp<int, int, int> (0, rgba::MAX_CC, c.a); 642 c.a = lerp<int, int, int> (0, rgba::MAX_CC, c.a);
644 name += skip; 643 name += skip;
645 printf ("y %04x\n", c.a);
646 } 644 }
647 else 645 else
648 c.a = rgba::MAX_CC; 646 c.a = rgba::MAX_CC;
649 647
650 // parse the non-standard rgba format 648 // parse the non-standard rgba format

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines