| # | Line 308 | Line 308 | getras() /* get raster file */ | |
|---|---|---|
| 308 | if (ourras == NULL) | |
| 309 | goto fail; | |
| 310 | getmono(); | |
| 311 | < | } else if (XMatchVisualInfo(thedisplay,ourscreen,24,TrueColor,&vinfo)) { |
| 311 | > | } else if (XMatchVisualInfo(thedisplay,ourscreen,24,TrueColor,&vinfo) |
| 312 | > | /* kludge for DirectColor */ |
| 313 | > | || XMatchVisualInfo(thedisplay,ourscreen,24,DirectColor,&vinfo)) { |
| 314 | ourdata = (unsigned char *)malloc(xmax*ymax*3); | |
| 315 | if (ourdata == NULL) | |
| 316 | goto fail; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |