| # | Line 276 | Line 276 | char **argv; | |
|---|---|---|
| 276 | if (gamstr == NULL) /* get it from the X server */ | |
| 277 | gamstr = XGetDefault(thedisplay, "radiance", "gamma"); | |
| 278 | if (gamstr == NULL) /* get it from the environment */ | |
| 279 | < | gamstr = getenv("GAMMA"); |
| 279 | > | gamstr = getenv("DISPLAY_GAMMA"); |
| 280 | if (gamstr != NULL) | |
| 281 | gamcor = atof(gamstr); | |
| 282 | /* get best visual for default screen */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |