tty: Fix wrong green/blue variable names
Browse files at this commit51f553352372a5841f1e67173b8cd8ea7c622f62Parent: 1f033911 changed file +2 -2
- src/backend/tty.rs +2 -2
src/backend/tty.rsmodified+2 -2
| @@ -2696,8 +2696,8 @@ impl GammaProps { | ||
| 2696 | 2696 | } |
| 2697 | 2697 | |
| 2698 | 2698 | let (red, rest) = gamma.split_at(gamma_size); |
| 2699 | - let (blue, green) = rest.split_at(gamma_size); | |
| 2700 | - let mut data = zip(zip(red, blue), green) | |
| 2699 | + let (green, blue) = rest.split_at(gamma_size); | |
| 2700 | + let mut data = zip(zip(red, green), blue) | |
| 2701 | 2701 | .map(|((&red, &green), &blue)| drm_color_lut { |
| 2702 | 2702 | red, |
| 2703 | 2703 | green, |