Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 156725
Collapse All | Expand All

(-)fontforge-20060703/gdraw/gxdraw.c~ (-1 / +1 lines)
Lines 374-380 Link Here
374
    /* I'd like TrueColor if I can get it */
374
    /* I'd like TrueColor if I can get it */
375
    if ( gdisp->visual == NULL ) {
375
    if ( gdisp->visual == NULL ) {
376
	for ( i=0; i<sizeof(vsearch)/(2*sizeof(int)) && gdisp->visual==NULL; ++i ) {
376
	for ( i=0; i<sizeof(vsearch)/(2*sizeof(int)) && gdisp->visual==NULL; ++i ) {
377
	    if ( XMatchVisualInfo(display,gdisp->screen,vsearch[i][0],vsearch[i][1],&vinf)) {
377
	    if ( XMatchVisualInfo(display,gdisp->screen,vsearch[i][0],vsearch[i][1],&vinf) && vinf.depth != 32) {
378
		gdisp->visual = vinf.visual;
378
		gdisp->visual = vinf.visual;
379
		gdisp->depth = vinf.depth;
379
		gdisp->depth = vinf.depth;
380
	    }
380
	    }

Return to bug 156725