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.394 by root, Sat Dec 13 10:07:30 2014 UTC vs.
Revision 1.396 by root, Sat Dec 13 12:06:38 2014 UTC

254 for (int i = 0; i < TOTAL_COLORS; i++) 254 for (int i = 0; i < TOTAL_COLORS; i++)
255 if (ISSET_PIXCOLOR (i)) 255 if (ISSET_PIXCOLOR (i))
256 { 256 {
257 pix_colors_focused [i].free (this); 257 pix_colors_focused [i].free (this);
258#if OFF_FOCUS_FADING 258#if OFF_FOCUS_FADING
259 if (rs[Rs_fade])
259 pix_colors_unfocused [i].free (this); 260 pix_colors_unfocused [i].free (this);
260#endif 261#endif
261 } 262 }
262 263
263 clear (); 264 clear ();
264 265
1054} 1055}
1055 1056
1056void 1057void
1057rxvt_term::alias_color (int dst, int src) 1058rxvt_term::alias_color (int dst, int src)
1058{ 1059{
1060 pix_colors[dst].free (this);
1059 pix_colors[dst].set (this, rs[Rs_color + dst] = rs[Rs_color + src]); 1061 pix_colors[dst].set (this, rs[Rs_color + dst] = rs[Rs_color + src]);
1060} 1062}
1061 1063
1062/* -------------------------------------------------------------------- * 1064/* -------------------------------------------------------------------- *
1063 * - WINDOW RESIZING - * 1065 * - WINDOW RESIZING - *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines