quine golf surface: fix quine-ness, switch shading type; 2955B

This commit is contained in:
Crispy 2024-08-13 21:12:25 +02:00
parent f8c4ec05d3
commit fdff82a752
3 changed files with 8 additions and 8 deletions

View file

@ -128,7 +128,7 @@ fn golfed() {
"uint magic_number_L_plus_b= {};\n",
encoded_text.len() * 11 + blob_start - 1
);
out_string += &format!("uint magic_number_L= {};\n", encoded_text.len() * 11 - 2);
out_string += &format!("uint magic_number_L= {};\n", encoded_text.len() * 11 - 1);
// font
let img = ImageReader::open("6x6.png").unwrap().decode().unwrap();