| # | Line 345 | Line 345 | redraw(x, y, w, h) /* redraw section of window */ | |
|---|---|---|
| 345 | int x, y; | |
| 346 | int w, h; | |
| 347 | { | |
| 348 | < | if (map_rcolors(ourras) == NULL) { |
| 348 | > | if (ourras->ncolors && map_rcolors(ourras) == NULL) { |
| 349 | fprintf(stderr, "%s: cannot allocate colors\n", progname); | |
| 350 | return(-1); | |
| 351 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |