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.345 by root, Sat Jan 8 10:17:43 2011 UTC vs.
Revision 1.346 by sf-exg, Sat Jan 8 10:37:21 2011 UTC

956void 956void
957rxvt_term::set_colorfgbg () 957rxvt_term::set_colorfgbg ()
958{ 958{
959 unsigned int i; 959 unsigned int i;
960 const char *xpmb = ""; 960 const char *xpmb = "";
961 char fstr[sizeof ("default") + 1], bstr[sizeof ("default") + 1]; 961 char fstr[] = "default";
962 char bstr[] = "default";
962 963
963 strcpy (fstr, "default");
964 strcpy (bstr, "default");
965 for (i = Color_Black; i <= Color_White; i++) 964 for (i = Color_Black; i <= Color_White; i++)
966 if (pix_colors[Color_fg] == pix_colors[i]) 965 if (pix_colors[Color_fg] == pix_colors[i])
967 { 966 {
968 sprintf (fstr, "%d", i - Color_Black); 967 sprintf (fstr, "%d", i - Color_Black);
969 break; 968 break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines