| # | Line 384 | Line 384 | XKeyEvent *ekey; | |
|---|---|---|
| 384 | switch (*cp) { | |
| 385 | case '\n': | |
| 386 | case '\r': /* radiance */ | |
| 387 | < | sprintf(buf, "%-3g", intens(cval)/exposure); |
| 387 | > | sprintf(buf, "%.3f", intens(cval)/exposure); |
| 388 | break; | |
| 389 | case 'l': /* luminance */ | |
| 390 | < | sprintf(buf, "%-3gn", bright(cval)*683.0/exposure); |
| 390 | > | sprintf(buf, "%.0fn", bright(cval)*683.0/exposure); |
| 391 | break; | |
| 392 | case 'c': /* color */ | |
| 393 | comp = pow(2.0, (double)scale); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |