forge
Explore
Log in

Don't you dare go Hollow

tty: Fix wrong green/blue variable names

Browse files at this commit

51f553352372a5841f1e67173b8cd8ea7c622f62Ivan MolodetskikhParent: 1f03391
Somehow two mistakes combined and it came out right.
src/backend/tty.rsmodified+2 -2
@@ -2696,8 +2696,8 @@ impl GammaProps {
26962696 }
26972697
26982698 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)
27012701 .map(|((&red, &green), &blue)| drm_color_lut {
27022702 red,
27032703 green,