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

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.264 by root, Sat Nov 24 11:06:13 2007 UTC vs.
Revision 1.265 by ayin, Mon Nov 26 10:08:36 2007 UTC

979 if (isdigit (*color)) 979 if (isdigit (*color))
980 { 980 {
981 i = atoi (color); 981 i = atoi (color);
982 982
983 if (i >= 8 && i <= 15) 983 if (i >= 8 && i <= 15)
984 {
984 { /* bright colors */ 985 /* bright colors */
985 i -= 8; 986 i -= 8;
986 pix_colors_focused[idx] = pix_colors_focused[minBrightCOLOR + i]; 987 pix_colors_focused[idx] = pix_colors_focused[minBrightCOLOR + i];
987 goto done; 988 goto done;
988 } 989 }
989 990
990 if (i >= 0 && i <= 7) 991 if (i >= 0 && i <= 7)
992 {
991 { /* normal colors */ 993 /* normal colors */
992 pix_colors_focused[idx] = pix_colors_focused[minCOLOR + i]; 994 pix_colors_focused[idx] = pix_colors_focused[minCOLOR + i];
993 goto done; 995 goto done;
994 } 996 }
995 } 997 }
996 998
1001 * so just keep gobbling up the colormap 1003 * so just keep gobbling up the colormap
1002 */ 1004 */
1003 1005
1004 pix_colors_focused[idx] = xcol; 1006 pix_colors_focused[idx] = xcol;
1005 1007
1006 /* XSetWindowAttributes attr; */
1007 /* Cursor cursor; */
1008done: 1008done:
1009 /*TODO: handle Color_BD, scrollbar background, etc. */ 1009 /*TODO: handle Color_BD, scrollbar background, etc. */
1010 1010
1011 update_fade_color (idx); 1011 update_fade_color (idx);
1012 recolour_cursor (); 1012 recolour_cursor ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines