Parcourir la source

a terrible typo!

jmelesky il y a 7 ans
Parent
commit
e05ca8941c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lesson02/src/main.rs

+ 1 - 1
lesson02/src/main.rs

@@ -30,7 +30,7 @@ fn init() -> Canvas<Window> {
         Err(err)  => panic!("Could not gain access to the SDL2 video subsystem. Error: {}", err),
     };
 
-    let window = match video.window("SDL Tutorial, lesson 01", WIDTH, HEIGHT)
+    let window = match video.window("SDL Tutorial, lesson 02", WIDTH, HEIGHT)
         .position_centered()
         .opengl()
         .build() {