… | |
… | |
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 | } |