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.61 by root, Mon Aug 7 15:12:48 2006 UTC vs.
Revision 1.63 by root, Fri Aug 18 23:03:31 2006 UTC

579 XFlush (dpy); 579 XFlush (dpy);
580} 580}
581 581
582void rxvt_display::reg (xevent_watcher *w) 582void rxvt_display::reg (xevent_watcher *w)
583{ 583{
584 if (!w.active) 584 if (!w->active)
585 { 585 {
586 xw.push_back (w); 586 xw.push_back (w);
587 w->active = xw.size (); 587 w->active = xw.size ();
588 } 588 }
589} 589}
809 //rxvt_warn ("could not allocate %04x %04x %04x, getting %04x %04x %04x instead (%d)\n", 809 //rxvt_warn ("could not allocate %04x %04x %04x, getting %04x %04x %04x instead (%d)\n",
810 // color.r, color.g, color.b, best->red, best->green, best->blue, diff); 810 // color.r, color.g, color.b, best->red, best->green, best->blue, diff);
811 811
812 got = alloc (screen, rgba (best->red, best->green, best->blue)); 812 got = alloc (screen, rgba (best->red, best->green, best->blue));
813 813
814 delete colors; 814 delete [] colors;
815 } 815 }
816#endif 816#endif
817 817
818 return got; 818 return got;
819} 819}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines