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.149 by root, Wed Dec 17 16:03:51 2014 UTC vs.
Revision 1.150 by sf-exg, Sat Sep 12 13:47:58 2015 UTC

825bool 825bool
826rxvt_color::set (rxvt_screen *screen, const char *name) 826rxvt_color::set (rxvt_screen *screen, const char *name)
827{ 827{
828 rgba c; 828 rgba c;
829 char eos; 829 char eos;
830 int skip; 830 int skip = 0;
831 831
832 c.a = rgba::MAX_CC; 832 c.a = rgba::MAX_CC;
833 833
834 // parse the nonstandard "[alphapercent]" prefix 834 // parse the nonstandard "[alphapercent]" prefix
835 if (1 <= sscanf (name, "[%hd]%n", &c.a, &skip)) 835 if (1 <= sscanf (name, "[%hd]%n", &c.a, &skip))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines