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

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.222 by ayin, Thu Nov 15 11:36:15 2007 UTC vs.
Revision 1.224 by ayin, Mon Nov 26 11:20:16 2007 UTC

853 if (rs[Rs_color + idx] && isdigit (* (rs[Rs_color + idx]))) 853 if (rs[Rs_color + idx] && isdigit (* (rs[Rs_color + idx])))
854 { 854 {
855 int i = atoi (rs[Rs_color + idx]); 855 int i = atoi (rs[Rs_color + idx]);
856 856
857 if (i >= 8 && i <= 15) 857 if (i >= 8 && i <= 15)
858 { /* bright colors */ 858 /* bright colors */
859 i -= 8;
860 rs[Rs_color + idx] = rs[Rs_color + minBrightCOLOR + i]; 859 rs[Rs_color + idx] = rs[Rs_color + minBrightCOLOR + i - 8];
861 return; 860 else if (i >= 0 && i <= 7)
862 } 861 /* normal colors */
863
864 if (i >= 0 && i <= 7) /* normal colors */
865 rs[Rs_color + idx] = rs[Rs_color + minCOLOR + i]; 862 rs[Rs_color + idx] = rs[Rs_color + minCOLOR + i];
866 } 863 }
867} 864}
868 865
869/*----------------------------------------------------------------------*/ 866/*----------------------------------------------------------------------*/
1416rxvt_term::run_child (const char *const *argv) 1413rxvt_term::run_child (const char *const *argv)
1417{ 1414{
1418 char *login; 1415 char *login;
1419 1416
1420 if (option (Opt_console)) 1417 if (option (Opt_console))
1418 {
1421 { /* be virtual console, fail silently */ 1419 /* be virtual console, fail silently */
1422#ifdef TIOCCONS 1420#ifdef TIOCCONS
1423 unsigned int on = 1; 1421 unsigned int on = 1;
1424 1422
1425 ioctl (STDIN_FILENO, TIOCCONS, &on); 1423 ioctl (STDIN_FILENO, TIOCCONS, &on);
1426#elif defined (SRIOCSREDIR) 1424#elif defined (SRIOCSREDIR)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines